W3C home > Mailing lists > Public > www-ws@w3.org > December 2005

WSDL example at http://www.w3.org/TR/wsdl

From: Jesper Sørensen <jesper.sorensen@ciber.dk>
Date: Tue, 20 Dec 2005 09:45:40 +0100
Message-ID: <66EC901E78623C409486F08B70C2BF7F03579D14@dk-acx-01.denmark.ecsoft>
To: <www-ws@w3.org>
I am currently digging into Web Service and was reading the :

 

Web Services Description Language (WSDL) 1.1

W3C Note 15 March 2001

 

at  http://www.w3.org/TR/wsdl <http://www.w3.org/TR/wsdl> 

 

 

 

In example 1 :   Example 1 SOAP 1.1 Request/Response via HTTP

 

The Service definition, at the end of the example, points to a Binding called "StockQuoteBinding" :

 

<service name="StockQuoteService">

     <documentation>My first service</documentation>

     <port name="StockQuotePort" binding="tns:StockQuoteBinding">

          <soap:address location="http://example.com/stockquote"/>

     </port>

</service>

 

 

But in the definition of bindings only a "StockQuoteSoapBinding" exist :

 

    <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">

        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

        <operation name="GetLastTradePrice">

           <soap:operation soapAction="http://example.com/GetLastTradePrice"/>

           <input>

               <soap:body use="literal"/>

           </input>

           <output>

               <soap:body use="literal"/>

           </output>

        </operation>

    </binding>

 

 

Is it just me or should it have been StockQuoteSoapBinding that was to referenced In the Service Definition "StockQuoteService" ?????

 

Regards 

Jesper
Received on Tuesday, 20 December 2005 10:01:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:50 GMT