Application Integration (On-Premises) : Administering the Software AG Infrastructure : Working with Web Services : Configure Web Service Security : Set Up Message-Level Security : Configure the Server Side : Specify Settings in a Software AG Designer Web Service Client
Specify Settings in a Software AG Designer Web Service Client
When the sp:RequiredElements and sp:RequiredParts assertions are available in the security policy, they may not be resolved and validated properly. By default, when XPath expressions are handled in sp:RequiredElements assertion, the expressions are validated against the soap:Envelope element, instead of the soap:Header element.
You can enable sp:RequiredElements and sp:RequiredParts assertions in the business logic of a web service client using this code snippet:
IWSStaxClient client = SampleService;
client.getWSOptions().setProperty("enableRequiredElementsXPathCompatibility",
"true");
You can also set specific properties using Software AG Designer. For instructions, see Web Services Stack Help.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback