This text file contains sample code fragments from:
Section 10.3 - Operator Composition Rules
Chapter 10 - Fundamental WS-Policy: Assertions, Expressions, and Attachments
Book - Web Service Contract Design & Versioning for SOA
Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl
Site - www.soabooks.com
Example 10.11 - Two policy assertions wrapped in multiple, nested wsp:All constructs.
Example 10.12 - Two policy assertions wrapped in a single wsp:All construct.
Example 10.13 - The wsam:Addressing policy assertion displayed before wsrmp:RMAssertion.
Example 10.14 - The wsrmp:RMAssertion and wsam:Addressing assertions displayed in a different order.
Example 10.15 - One policy assertion positioned as the child element of the first wsp:All element, and two further assertions located within a nested wsp:All construct.
Example 10.16 - With the nested wsp:All construct removed, all three policy assertions are grouped together.
Example 10.17 - Two policy assertions within an wsp:ExactlyOne construct establishing a policy alternative that is wrapped further within an wsp:All construct.
Example 10.18 - The individual assertions are wrapped in their own wsp:All constructs, both of which are wrapped in a wsp:ExactlyOne construct.
Example 10.19 - Two wsp:ExactlyOne operators wrapped in a wsp:All operator.
Example 10.20 - This time the wsp:ExactlyOne operator is the parent and the assertions are wrapped in wsp:All operators. Note the two occurrences of the argt:responseGuarantee assertion.
Example 10.21 - An operator composition containing an empty wsp:ExactlyOne element.