W3C home > Mailing lists > Public > public-ws-policy@w3.org > September 2006

Re: ISSUE 3564: Optional Assertions may not be usable in all cir cumstances

From: Sergey Beryozkin <sergey.beryozkin@iona.com>
Date: Mon, 25 Sep 2006 09:36:24 +0100
Message-ID: <00d801c6e07d$af3110c0$3901020a@sberyoz>
To: "Prasad Yendluri" <prasad.yendluri@webmethods.com>, "Daniel Roth" <Daniel.Roth@microsoft.com>, "Yalcinalp, Umit" <umit.yalcinalp@sap.com>, <public-ws-policy@w3.org>
Prasad Yenduri wrote :

"I tend to attributes two types of meaning to capabilities. (1) Things the provider can do if the requester tries to engage it (e.g use of MTOM/XOP encoding). That is, optional requirements, which is the interpretation that the primer has taken. However I can see another kind of capabilities (ii) capabilities e.g. a service declares it can do but there is no requirement on the client. For example, this service receives mail for xyz.com domain, but it also routes mail to domains other than xyz.com (serves as a mail gateway). Can a service declare that "capability" as an assertion? It is useful for the (mail) client to know so that, it can send mail addressed to other domains to this service. Another example is, a service that boasts a10 msec response time. My understanding is that declaration of capabilities such as these is a valid use of policy assertions. 
 

If so, the primer / best practices doc's interpretation of capability is incomplete and perhaps misleading? It would be useful to account for the use case #2 above also. 

 

Honestly, I would like to call optional requirements just that (and not capabilities), as there may not be any capability implication to a service in general, if or not a client engages an optional requirement.  E.g. an optional requirement to follow-on an online Purchase Order request via hard-copy sent to a USPS address."



+1. 

At the moment the way wsp:optional is defined is misleading IMHO. Primer and the WSPolicy Framework spec refer to assertions marked by wsp:optional as the ones which identify behaviours which may be optionally engaged in contrast to "must be". 

The main problem with this definition is that the *key* property of such assertions is overloaded and hidden : this property is that such assertion CAN be ignored by a client. As such, policy authors will be confused as to how to use assertions for the use case #2.



Cheers, Sergey Beryozkin

Iona Technologies
Received on Monday, 25 September 2006 08:36:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:41 GMT