W3C home > Mailing lists > Public > www-ws-desc@w3.org > November 2002

Re: Proposal: MEP support in operations

From: Jean-Jacques Moreau <moreau@crf.canon.fr>
Date: Thu, 21 Nov 2002 18:37:34 +0100
Message-ID: <3DDD19DE.4060203@crf.canon.fr>
To: Don Mullen <donmullen@tibco.com>
CC: "'www-ws-desc@w3.org'" <www-ws-desc@w3.org>

Don,

I have now read this and I like the general direction. My only 
concern is maybe the name of the property you've used as a value 
for the mepRole attribute (in the examples).

Jean-Jacques.

Don Mullen wrote:
> 
> The following is a proposal for generalizing message exchange pattern
> support in WSDL.
> 
> Currently an operation's MEP is recognized by examining the order of its
> input and ouput children, and is limited to four varieties.  This proposal
> recommends instead that the MEP be made explicit by the use of a standard
> attribute on 'operation'.  The attribute would be described as follows:
> 
> 	local name: mep
> 	namespace name: absent
> 	type: xs:anyURI
> 
> If backward compatibility is desired, then four "standard" URIs might be
> created, and associated as the default for operations conforming to their
> patterns.  In fact, since output-input and output-only have not been
> adequately supported in the past, they might have no default.  The same
> might also hold for input-only, which is also relatively underdescribed, in
> comparison to input-output (request/response).
> 
> This has the advantage of allowing multiple definitions of semantics for
> certain patterns, as these prove needed.
> 
> In addition, an attribute to 'input' and 'output' would be added in order to
> identify the specific role being played in the MEP.  The attribute would be
> described as follows:
> 
> 	local name: messageRole
> 	namespace name: absent
> 	type: xs:QName [or xs:anyURI depending on resolution in XMLP re:
> property type?]
> 
> Example One (Request-Response):
> 
> <operation name="GetResponse"
> mep="http://www.w3.org/2002/06/soap/mep/request-response/"
>  
> xmlns:req-resp="http://www.w3.org/2002/06/soap/mep/request-response/">
>   <input type="GetResponse_Request" messageRole="req-resp:InboundMessage"/>
>   <output type="GetResponse_Response"
> messageRole="req-resp:OutboundMessage"/>
> </operation>
> 
> Example Two (Event-Notification):
> 
> <operation name="Event-1"
> mep="http://www.example.org/soap/mep/event-notification/"
>  
> xmlns:event="http://www.example.org/soap/mep/event-notification/">
>   <input  type="Subscription_Request" messageRole="event:subscribe"/>
>   <output type="Event_Notification" messageRole="event:event"/>
>   <input  type="Unsubscribe_Request" messageRole="event:unsubscribe"/>
> </operation>
> 
> Note here that the "Event_Notification" could be specified as being 'zero or
> more events'.
> 
> ----------------
> Don Mullen
> TIBCO Software
> 
Received on Thursday, 21 November 2002 12:38:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:22 GMT