Re: WSDL example as per F2F action item

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 UTC