Java Reference
In-Depth Information
<definitions name="StockQuote"
targetNamespace="http://soacookbook.com/stockquote/defs"
xmlns:tns="http://soacookbook.com/quote/defs"
xmlns:xsd1="http://soacookbook.com/quote/schemas"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import namespace="http://soacookbook.com/quote/schemas"
location="http://soacookbook.com/quote/stockquote.xsd"/>
<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>
</message>
<portType name="StockQuotePortType">
<operation name="GetLastTradePrice">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>
</operation>
</portType>
</definitions>
On its own, this can't be presented as the service WSDL because no bindings or service
location is specified. Clients would be pointed to the concrete WSDL, which is shown in
Example 12-16 as StockQuoteConcrete.wsdl.
Example12-16.StockQuoteConcrete.wsdl
<definitions name="StockQuote"
targetNamespace="http://soacookbook.com/quote/service"
xmlns:tns="http://soacookbook.com/quote/service"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:defs="http://soacookbook.com/quote/defs"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import namespace="http://soacookbook.com/quote/defs"
location="http://soacookbook.com/quote/StockQuoteAbstract.wsdl"/>
<binding name="StockQuoteSoapBinding"
type="defs:StockQuotePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetLastTradePrice">
Search WWH ::




Custom Search