| 1 |
<?xml version="1.0"?> |
| 2 |
<definitions name="StockQuote" |
| 3 |
targetNamespace="http://example.com/stockquote.wsdl" |
| 4 |
xmlns:tns="http://example.com/stockquote.wsdl" |
| 5 |
xmlns:xsd1="http://example.com/stockquote.xsd" |
| 6 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 7 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 8 |
|
| 9 |
<types> |
| 10 |
<schema targetNamespace="http://example.com/stockquote.xsd" |
| 11 |
xmlns="http://www.w3.org/2000/10/XMLSchema"> |
| 12 |
<element name="TradePriceRequest"> |
| 13 |
<complexType> |
| 14 |
<all> |
| 15 |
<element name="tickerSymbol" type="string"/> |
| 16 |
</all> |
| 17 |
</complexType> |
| 18 |
</element> |
| 19 |
<element name="TradePrice"> |
| 20 |
<complexType> |
| 21 |
<all> |
| 22 |
<element name="price" type="float"/> |
| 23 |
</all> |
| 24 |
</complexType> |
| 25 |
</element> |
| 26 |
</schema> |
| 27 |
</types> |
| 28 |
|
| 29 |
<message name="GetLastTradePriceInput"> |
| 30 |
<part name="body" element="xsd1:TradePriceRequest"/> |
| 31 |
</message> |
| 32 |
|
| 33 |
<message name="GetLastTradePriceOutput"> |
| 34 |
<part name="body" element="xsd1:TradePrice"/> |
| 35 |
</message> |
| 36 |
|
| 37 |
<portType name="StockQuotePortType"> |
| 38 |
<operation name="GetLastTradePrice"> |
| 39 |
<input message="tns:GetLastTradePriceInput"/> |
| 40 |
<output message="tns:GetLastTradePriceOutput"/> |
| 41 |
</operation> |
| 42 |
</portType> |
| 43 |
|
| 44 |
<binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType"> |
| 45 |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 46 |
<operation name="GetLastTradePrice"> |
| 47 |
<soap:operation soapAction="http://example.com/GetLastTradePrice"/> |
| 48 |
<input> |
| 49 |
<soap:body use="literal"/> |
| 50 |
</input> |
| 51 |
<output> |
| 52 |
<soap:body use="literal"/> |
| 53 |
</output> |
| 54 |
</operation> |
| 55 |
</binding> |
| 56 |
|
| 57 |
<service name="StockQuoteService"> |
| 58 |
<documentation>My first service</documentation> |
| 59 |
<port name="StockQuotePort" binding="tns:StockQuoteBinding"> |
| 60 |
<soap:address location="http://example.com/stockquote"/> |
| 61 |
</port> |
| 62 |
</service> |
| 63 |
|
| 64 |
</definitions> |
| 65 |
|