4.2 Policy File Example

The existing policy file mechanism includes the addition of WS-AT policy elements.WS-AT defines the ATAssertion element, with an Optional attribute, as follows:

/wsat:ATAssertion/@wsp:Optional="true"

The following example shows policy.xml file with an ATAssertion element.

Example 4-1 policy.xml File with an 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>