Debian Codegraph @

tests/test_cases/features/wsdl/wsdl11_example3.wsdl

raw
1 <?xml version="1.0"?>
2 <!--
3 Original 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 This case contains a typo in <binding> definition
7 -->
8 <definitions name="StockQuote"
9 targetNamespace="http://example.com/stockquote.wsdl"
10 xmlns:tns="http://example.com/stockquote.wsdl"
11 xmlns:xsd1="http://example.com/stockquote.xsd"
12 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
13 xmlns="http://schemas.xmlsoap.org/wsdl/">
14
15 <message name="SubscribeToQuotes">
16 <part name="body" element="xsd1:SubscribeToQuotes"/>
17 <part name="subscribeheader" element="xsd1:SubscriptionHeader"/>
18 </message>
19
20 <portType name="StockQuotePortType">
21 <operation name="SubscribeToQuotes">
22 <input message="tns:SubscribeToQuotes"/>
23 </operation>
24 </portType>
25
26 <binding name="StockQuoteSoap" type="tns:StockQuotePortType">
27 <soap:binding style="document" transport="http://example.com/smtp"/>
28 <operation name="SubscribeToQuotes">
29 <input message="tns:SubscribeToQuotes"> <!-- attribute 'message' not allowed -->
30 <soap:body parts="body" use="literal"/>
31 <soap:header message="tns:SubscribeToQuotes" part="subscribeheader" use="literal"/>
32 </input>
33 </operation>
34 </binding>
35
36 <service name="StockQuoteService">
37 <port name="StockQuotePort" binding="tns:StockQuoteSoap">
38 <soap:address location="mailto:[email protected]"/>
39 </port>
40 </service>
41
42 <types>
43 <schema targetNamespace="http://example.com/stockquote.xsd"
44 xmlns="http://www.w3.org/2001/XMLSchema">
45 <element name="SubscribeToQuotes">
46 <complexType>
47 <all>
48 <element name="tickerSymbol" type="string"/>
49 </all>
50 </complexType>
51 </element>
52 <element name="SubscriptionHeader" type="anyURI"/>
53 </schema>
54 </types>
55 </definitions>