This text file contains sample code fragments from:
Section 17.3 - Runtime Policy Representation
Chapter 17 - Advanced WS-Policy Part II: Custom Policy Assertion Design, Runtime Representation, and Compatibility
Book - Web Service Contract Design & Versioning for SOA
Series - The Prentice Hall Service Technology Series from Thomas Erl
Site - www.servicetechbooks.com
...
Example 17.13 - The standard structure of a wsp:Policy construct when presented in normal form. (Note that the wsp:Exactly One construct can contain multiple wsp:All child elements, as originally explained in Chapter 10.)
6
24
Example 17.14 - A policy expression in compact form.
6
12
6
12
Example 17.15 - The previous policy expression now in normal form.
...
Example 17.16 - A policy assertion alternative attached to a port element, providing a choice between ex:Assertion1 and ex:Assertion2.
...
Example 17.17 - The ex:Assertion3 policy assertion attached to the binding element.
...
Example 17.18 - The ex:Assertion4 policy assertion attached to the portType element.
Example 17.19 - The effective policy is comprised of three required assertions, one of which is part of a policy alternative.
Example 17.20 - Example 17.19 restructured into normal form.