Review of policy assertion examples

I've reviewed the examples and they all reflect my understanding of the 
intricacies of WS-Policy Framework.

I'll get hold of a policy implementation and run the xml through as a 
final confirmation but I probably won't have time to do that before the 
push to LC.

Examples 3-3 and 3-4 include empty wsp:Policy elements: 
<wsp:Policy></wsp:Policy>
This is because of the note in [1] which states:"Note: if the schema 
outline for an assertion type requires a nested policy expression but the 
assertion does not further qualify one or more aspects of the behavior 
indicated by the assertion type (i.e., no assertions are needed in the 
nested policy expression), the assertion MUST include an empty 
<wsp:Policy/> Element Information Item in its [children] property; "

As stated in that note, <wsp:Policy></wsp:Policy> may be replaced by 
<wsp:Policy />

David

[1] 
http://www.w3.org/TR/2006/WD-ws-policy-20061117/#Policy_Assertion_Nesting

David Illsley
Web Services Development
MP211, IBM Hursley Park, SO21 2JN
+44 (0)1962 815049 (Int. 245049)
david.illsley@uk.ibm.com

Received on Tuesday, 9 January 2007 10:51:38 UTC