| 1 |
<?xml version="1.0"?> |
| 2 |
<!-- |
| 3 |
Example #3 from WSDL 1.1 definition with SOAP 1.1 bindings: |
| 4 |
href: https://www.w3.org/TR/2001/NOTE-wsdl-20010315#_soap-e |
| 5 |
--> |
| 6 |
<definitions name="StockQuote" |
| 7 |
targetNamespace="http://example.com/stockquote.wsdl" |
| 8 |
xmlns:tns="http://example.com/stockquote.wsdl" |
| 9 |
xmlns:xsd1="http://example.com/stockquote.xsd" |
| 10 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 11 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 12 |
|
| 13 |
<message name="SubscribeToQuotes"> |
| 14 |
<part name="body" element="xsd1:SubscribeToQuotes"/> |
| 15 |
<part name="subscribeheader" element="xsd1:SubscriptionHeader"/> |
| 16 |
</message> |
| 17 |
|
| 18 |
<portType name="StockQuotePortType"> |
| 19 |
<operation name="SubscribeToQuotes"> |
| 20 |
<input message="tns:SubscribeToQuotes"/> |
| 21 |
</operation> |
| 22 |
</portType> |
| 23 |
|
| 24 |
<binding name="StockQuoteSoap" type="tns:StockQuotePortType"> |
| 25 |
<soap:binding style="document" transport="http://example.com/smtp"/> |
| 26 |
<operation name="SubscribeToQuotes"> |
| 27 |
<input> |
| 28 |
<soap:body parts="body" use="literal"/> |
| 29 |
<soap:header message="tns:SubscribeToQuotes" part="subscribeheader" use="literal"/> |
| 30 |
</input> |
| 31 |
</operation> |
| 32 |
</binding> |
| 33 |
|
| 34 |
<service name="StockQuoteService"> |
| 35 |
<port name="StockQuotePort" binding="tns:StockQuoteSoap"> |
| 36 |
<soap:address location="mailto:[email protected]"/> |
| 37 |
</port> |
| 38 |
</service> |
| 39 |
|
| 40 |
<types> |
| 41 |
<schema targetNamespace="http://example.com/stockquote.xsd" |
| 42 |
xmlns="http://www.w3.org/2001/XMLSchema"> |
| 43 |
<element name="SubscribeToQuotes"> |
| 44 |
<complexType> |
| 45 |
<all> |
| 46 |
<element name="tickerSymbol" type="string"/> |
| 47 |
</all> |
| 48 |
</complexType> |
| 49 |
</element> |
| 50 |
<element name="SubscriptionHeader" type="anyURI"/> |
| 51 |
</schema> |
| 52 |
</types> |
| 53 |
</definitions> |