[Bug 6403] Enumeration- define policy

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6403





--- Comment #2 from Doug Davis <dug@us.ibm.com>  2009-03-12 02:07:31 ---
proposal:
http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Feb/0007.html

Following the pattern being proposed for WS-Eventing's policy,
define a new section of WS-Enum that has the following:

- - - - - - - - - - - - - - - - - - -

WS-Policy Framework and WS-Policy Attachment [WS-PolicyAttachment] 
collectively define a framework, model and grammar for expressing 
the requirements, and general characteristics of entities in an XML 
Web services-based system. To enable a Data Source to describe its
requirements, this specification defines a single policy assertion
that leverages the WS-Policy framework.  This assertion has Endpoint
Policy Subject.

The normative outline of this assertion is:

<wsenp:WSEnumeration [wsp:Optional="true"]? ...>
  <wsp:Policy>
    <x:FilterDialect xmlns:x="xs:anyURI" wsp:Optional="true"/> *
    ...
  </wsp:Policy>
</wsenp:WSEnumeration>

/wsenp:WSEnumeration
  A policy assertion that specifies that WS-Enumeration protocol 
  MUST be used when communicating with this endpoint. This assertion 
  has Endpoint Policy Subject.

/wsenp:WSEnumeration/wsp:Optional
  Per WS-Policy, this is compact notation for two policy alternatives,
  one with and one without the assertion. The intuition is that the 
  behavior indicated by the assertion is optional, or in this case, 
  that WS-Enumeration MAY be used.

/wsenp:WSEnumeration/wsp:Policy
  This required element allows for the inclusion of nested policy 
  assertions.

/wsenp:WSEnumeration/wsp:Policy/x:FilterDialect
  When present, this assertion defines the requirement that the 
  consumer, if it chooses to include a filter in the wsen:Enumerate 
  request, MUST use the filter dialect associated with the namespace 
  URI of this element. Note: the namespace of this element is 
  application defined, but the Local Name MUST be  "FilterDialect".

/wsenp:WSEnumeration/wsp:Policy/x:FilterDialect@wsp:Optional
  This attribute specifies that the assertion is optional per 
  WS-Policy. This attribute MUST be present since the inclusion of 
  a Filter dialect in a Enumerate request is optional.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 12 March 2009 02:22:52 UTC