Debian Codegraph @

tests/test_cases/features/wsdl/wsdl11_example5_valid.wsdl

raw
1 <?xml version="1.0"?>
2 <!-- Example 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:xsd1="http://example.com/stockquote/schema"
9 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
10 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
11 xmlns="http://schemas.xmlsoap.org/wsdl/">
12
13 <types>
14 <schema targetNamespace="http://example.com/stockquote/schema"
15 xmlns="http://www.w3.org/2001/XMLSchema"
16 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
17
18 <!-- use fallback locations for finding soap-encoding.xsd schema -->
19 <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
20
21 <complexType name="TimePeriod">
22 <all>
23 <element name="startTime" type="xsd:time"/>
24 <element name="endTime" type="xsd:time"/>
25 </all>
26 </complexType>
27 <complexType name="ArrayOfFloat">
28 <complexContent>
29 <restriction base="soapenc:Array">
30 <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:float[]"/>
31 </restriction>
32 </complexContent>
33 </complexType>
34 </schema>
35 </types>
36
37 <message name="GetTradePricesInput">
38 <part name="tickerSymbol" type="xsd:string"/>
39 <part name="timePeriod" type="xsd1:TimePeriod"/>
40 </message>
41
42 <message name="GetTradePricesOutput">
43 <part name="result" type="xsd1:ArrayOfFloat"/>
44 <part name="frequency" type="xsd:float"/>
45 </message>
46
47 <portType name="StockQuotePortType">
48 <operation name="GetTradePrices" parameterOrder="tickerSymbol timePeriod frequency">
49 <input message="tns:GetTradePricesInput"/>
50 <output message="tns:GetTradePricesOutput"/>
51 </operation>
52 </portType>
53
54 <binding name="StockQuoteBinding" type="tns:StockQuotePortType">
55 <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
56 <operation name="GetTradePrices">
57 <soap:operation soapAction="http://example.com/GetTradePrices"/>
58 <input>
59 <soap:body use="encoded" namespace="http://example.com/stockquote"
60 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
61 </input>
62 <output>
63 <soap:body use="encoded" namespace="http://example.com/stockquote"
64 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
65 </output>
66 </operation>
67 </binding>
68
69 <service name="StockQuoteService">
70 <documentation>My first service</documentation>
71 <port name="StockQuotePort" binding="tns:StockQuoteBinding">
72 <soap:address location="http://example.com/stockquote"/>
73 </port>
74 </service>
75 </definitions>