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

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 UTC