Next: Service Description Component
Up: WSDL
Previous: PortType Description Component
  Contents
In the high-stakes world of international widget trade, the one truism is:
``You need to contact your widget man.'' If you don't know the format in which messages should be output to your widget
man, then all is lost. Similarly, in the WSDL world you need to know the format message in which messages should be
output to remote services and the format in which they will be input back to you. These message formats are specified
in the Binding Description Component of a WSDL document. For a taste of how this looks in a document here's
the snippet:
<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>
This snippet indicates that the format used to transmit messages for the StockQuotePortType is the SOAP
message encoding. This is a format which we will later examine in some detail.
Andre Merzky
2004-05-13
|