Compartilhar via


3.1.4.1.22 WS-Policy

A Web Services Management Protocol Extensions for Windows Vista service MAY<69> accept WS-Policy expressions consisting of a sequence of policy assertions, but need not accept nested policy assertions. A service MAY<70> reject WS-Policy expressions in which a single wsp:All element contains more than one wsman:Authentication assertion and reply with a wsman:EventDeliverToUnusable fault with a detail of http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/PolicyTooComplex. When a service receives a request in which the NotifyTo EPR contains more than one wsp:Policy block with wsman:Authentication assertions, it SHOULD process the first wsp:Policy block with wsman:Authentication assertions and ignore the rest.

If a service cannot comply with all wsp:Policy elements in the wse:NotifyTo EPR, it MUST return a wsman:EventDeliverToUnusable fault with a detail of http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/CannotComplyWithPolicy.

A service MUST return a wsman:EventDeliverToUnusable fault with a detail of http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/PolicyTooComplex, if one of the wsp:Policy elements contains a policy expression that exceeds its ability to evaluate, or if one of the wsp:Policy elements contains a requirement that the event source cannot fulfill when delivering events. This includes unknown elements or attributes in the open content sections of known elements.