Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServicePublisher: add property to disable parameter names for backward compatibility #29

Closed

Conversation

jwinkler-domcura
Copy link

This adds a new property to the openl-ruleservice-webservices-publisher-beans.xml file, which disables parameter names.

So with this property enabled the wsdl method parameters will be called arg0, arg1, ...

We are planning to update an OpenL Server running on version 5.18.3. The server currently uses the now removed WebServicesRuleServicePublisher. And many local services are depending on the arg0, arg1, ... naming.

Would be nice if this can be included in upstream openl, so we can use the newer versions with our existing setup.

jwinkler-domcura and others added 2 commits January 30, 2020 15:47
for backward compatibility with removed WebServicesRuleServicePublisher
@mkamalov
Copy link
Contributor

I commited backward compatibility fix. To disable argument names from rules add 'ruleservice.jaxrs.methodParameterNamesFromRulesEnabled = false' property into application.properties or define this property via system variables.

@mkamalov
Copy link
Contributor

Property was renamed to ruleservice.jaxws.resolveMethodParameterNames = true and now can be configured per service in configuration section of rules-deploy.xml.

@yurkom
Copy link
Member

yurkom commented Feb 13, 2020

Commit 298d0da

@yurkom yurkom closed this Feb 13, 2020
@jwinkler-domcura
Copy link
Author

The mentioned commit solves our problem. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants