W3C home > Mailing lists > Public > public-ws-chor@w3.org > October 2004

Re: WSDL example as per F2F action item

From: Gary Brown <gary@enigmatec.net>
Date: Mon, 11 Oct 2004 16:03:36 +0100
Message-ID: <000c01c4afa3$8020f4b0$0200a8c0@LATTITUDEGary>
To: "Martin Chapman" <martin.chapman@oracle.com>, "'Furniss, Peter'" <Peter.Furniss@choreology.com>, "'Steve Ross-Talbot'" <steve@enigmatec.net>, "'WS-Choreography List'" <public-ws-chor@w3.org>

Hi Martin,

>
> actually c is not really acturate in the precense of out-only
> operations. the interface is *described* from <rolea> perspective, but
> there has to be an interface at <roleb> to receive the out-only
> requests.
>

Just to clarify, in Peter's statement he said that "rolea" owned the
interface, and the other role was "roleb". In this case, the CDL 'toRole'
would be 'rolea'.

The WSDL2 interface definition to accompany the example I provided would be:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="......."
                xmlns:wsdl="http://www.w3.org/2004/08/wsdl" >
    <wsdl:interface name="OrderManager">
        <wsdl:operation name="purchaseGoods"
                        pattern="http://www.w3.org/2004/08/wsdl/in-out">
            <wsdl:input element=""/>
            <wsdl:output element=""/>
        </wsdl:operation>
         <wsdl:operation name="orderConfirmed"
                        pattern="http://www.w3.org/2004/08/wsdl/out-only">
            <wsdl:output element=""/>
        </wsdl:operation>
         <wsdl:operation name="orderDispatched"
                        pattern="http://www.w3.org/2004/08/wsdl/out-only">
            <wsdl:output element=""/>
        </wsdl:operation>
   </wsdl:interface>
</wsdl:definitions>

which means that the request/response and out only operations are all part
of the same interface (associated with the 'toRole', i.e. "rolea").

I understand your position, that currently these out only operations are not 
supported by any
bindings - however, while WSDL2 provides support for these operation types
(with the potential for future bindings being provided), then I think CDL
needs to support them.

Regards

Gary
Received on Monday, 11 October 2004 15:04:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 01:01:06 GMT