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

Jesper Sørensen <[email protected]>
Newsgroups gmane.comp.web.services.general
Message-ID <66EC901E78623C409486F08B70C2BF7F03579D14@dk-acx-01.denmark.ecsoft>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.