Which operation?

Hi,

I've finally got a bit of time on my hands (arguably the only upside of
stomach flu), and wanted to follow up with Hugo, Dave, etc.. on the
desribing-RESTful-services thread.  But I found myself needing some
clarification first.

If, using the following WSDL, we had a WSDL operation bound to HTTP GET,
and we sent a message containing a document conformant with schema1, and
received a successful response including the contents of schema2, what
was the operation that was invoked?  "GET" or "getStockQuote"?

    <wsdl:interface name="StockQuotes">
        <wsdl:operation name="getStockQuote">
            <wsdl:input element="schema1"/>
            <wsdl:output element="schema2"/>
        </wsdl:operation>
    </wsdl:interface>

I've been told that wsdl:operation is just documentation, which is
exactly how I see it too (which would suggest that "GET" was the
operation that was invoked).  But so much of what WSDL is used for today
doesn't use it that way, and from what I can tell, there's no way to
tell which interpretation a given WSDL document is using.  FWIW, this
also relates to Umit's operationName work as well as my previous issue
about "ambiguous interface semantics".

Thanks.

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca

Received on Monday, 19 April 2004 11:58:04 UTC