Debian Codegraph @

tests/test_cases/features/wsdl/wsdl11_example4.wsdl

raw
1 <?xml version="1.0"?>
2 <!--
3 Original example #4 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 Contains a typo with an invalid character data in /binding.
7 -->
8 <definitions name="StockQuote"
9 targetNamespace="http://example.com/stockquote.wsdl"
10 xmlns:tns="http://example.com/stockquote.wsdl"
11 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
12 xmlns:xsd1="http://example.com/stockquote.xsd"
13 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
14 xmlns="http://schemas.xmlsoap.org/wsdl/">
15
16 <message name="GetTradePriceInput">
17 <part name="tickerSymbol" element="xsd:string"/>
18 <part name="time" element="xsd:timeInstant"/>
19 </message>
20
21 <message name="GetTradePriceOutput">
22 <part name="result" type="xsd:float"/>
23 </message>
24
25 <portType name="StockQuotePortType">
26 <operation name="GetTradePrice">
27 <input message="tns:GetTradePriceInput"/>
28 <output message="tns:GetTradePriceOutput"/>
29 </operation>
30 </portType>
31
32 <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
33 <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
34 <operation name="GetTradePrice">
35 <soap:operation soapAction="http://example.com/GetTradePrice"/>
36 <input>
37 <soap:body use="encoded" namespace="http://example.com/stockquote"
38 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
39 </input>
40 <output>
41 <soap:body use="encoded" namespace="http://example.com/stockquote"
42 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
43 </output>
44 </operation>> <!-- '>' is not allowed -->
45 </binding>
46
47 <service name="StockQuoteService">
48 <documentation>My first service</documentation>
49 <port name="StockQuotePort" binding="tns:StockQuoteBinding">
50 <soap:address location="http://example.com/stockquote"/>
51 </port>
52 </service>
53 </definitions>