1.3.5.1 Policy.xml File
The policy.xml
file includes WS-AT policy elements. WS-AT defines the ATAssertion
element, with an Optional
attribute, as follows: /wsat:ATAssertion/@wsp:Optional="true"
as shown in the example below:
Example 1-40 Policy.XML ATAssertion Element
<?xml version="1.0"?>
<wsp:Policy wsp:Name="TransactionalServicePolicy"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsat="http://docs.oasis-open.org/ws-tx/wsat/2006/06">
<wsat:ATAssertion wsp:Optional="true"/>
</wsp:Policy>
Note:
In order to correctly import external WSDL files, thewsdlcvt
command is modified to generate a policy.xml
file containing the ATAssertion
element when one is present in the WSDL. For outbound requests, a policy.xml
file containing an ATAssertion
element must be created and properly pointed to in the SALTDEPLOY
source.