W3C home > Mailing lists > Public > www-ws-desc@w3.org > April 2004

Which operation?

From: Mark Baker <distobj@acm.org>
Date: Mon, 19 Apr 2004 11:57:15 -0400
To: www-ws-desc@w3.org
Message-ID: <20040419155715.GG3347@markbaker.ca>


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"/>

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".


Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca
Received on Monday, 19 April 2004 11:58:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:40 UTC