Debian Codegraph @

tests/test_cases/features/wsdl/wsdl11_example4_valid.wsdl

raw
1 <?xml version="1.0"?>
2 <!-- Example #4 from WSDL 1.1 definition with SOAP 1.1 bindings:
3 href: https://www.w3.org/TR/2001/NOTE-wsdl-20010315#_soap-e -->
4 <definitions name="StockQuote"
5 targetNamespace="http://example.com/stockquote.wsdl"
6 xmlns:tns="http://example.com/stockquote.wsdl"
7 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
9 xmlns="http://schemas.xmlsoap.org/wsdl/">
10
11 <message name="GetTradePriceInput">
12 <part name="tickerSymbol" type="xsd:string"/>
13 <part name="time" type="xsd:time"/>
14 </message>
15
16 <message name="GetTradePriceOutput">
17 <part name="result" type="xsd:float"/>
18 </message>
19
20 <portType name="StockQuotePortType">
21 <operation name="GetTradePrice">
22 <input message="tns:GetTradePriceInput"/>
23 <output message="tns:GetTradePriceOutput"/>
24 </operation>
25 </portType>
26
27 <binding name="StockQuoteBinding" type="tns:StockQuotePortType">
28 <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
29 <operation name="GetTradePrice">
30 <soap:operation soapAction="http://example.com/GetTradePrice"/>
31 <input>
32 <soap:body use="encoded" namespace="http://example.com/stockquote"
33 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
34 </input>
35 <output>
36 <soap:body use="encoded" namespace="http://example.com/stockquote"
37 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
38 </output>
39 </operation>
40 </binding>
41
42 <service name="StockQuoteService">
43 <documentation>My first service</documentation>
44 <port name="StockQuotePort" binding="tns:StockQuoteBinding">
45 <soap:address location="http://example.com/stockquote"/>
46 </port>
47 </service>
48 </definitions>