xref: /PHP-5.3/ext/soap/tests/bugs/multiport.wsdl (revision 5429bfb5)
1<?xml version="1.0" encoding="UTF-8"?>
2<wsdl:definitions targetNamespace="http://www.reuters.com/" xmlns:tns="http://www.reuters.com/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema">
3  <wsdl:types>
4    <s:schema elementFormDefault="qualified" targetNamespace="http://www.reuters.com/">
5      <s:element name="GetSessionId">
6        <s:complexType>
7          <s:sequence>
8            <s:element maxOccurs="1" minOccurs="0" name="userId" type="s:string"/>
9            <s:element maxOccurs="1" minOccurs="0" name="password" type="s:string"/>
10          </s:sequence>
11        </s:complexType>
12      </s:element>
13      <s:element name="GetSessionIdResponse">
14        <s:complexType>
15          <s:sequence>
16            <s:element maxOccurs="1" minOccurs="0" name="GetSessionIdResult" type="s:string"/>
17          </s:sequence>
18        </s:complexType>
19      </s:element>
20    </s:schema>
21  </wsdl:types>
22  <wsdl:message name="GetSessionIdHttpGetIn">
23    <wsdl:part name="userId" type="s:string">
24    </wsdl:part>
25    <wsdl:part name="password" type="s:string">
26    </wsdl:part>
27  </wsdl:message>
28  <wsdl:message name="GetSessionIdHttpGetOut">
29    <wsdl:part name="Body" element="tns:string">
30    </wsdl:part>
31  </wsdl:message>
32  <wsdl:message name="GetSessionIdSoapOut">
33    <wsdl:part name="parameters" element="tns:GetSessionIdResponse">
34    </wsdl:part>
35  </wsdl:message>
36  <wsdl:message name="GetSessionIdSoapIn">
37    <wsdl:part name="parameters" element="tns:GetSessionId">
38    </wsdl:part>
39  </wsdl:message>
40  <wsdl:portType name="StocksDataSecureHttpGet">
41    <wsdl:operation name="GetSessionId">
42      <wsdl:input message="tns:GetSessionIdHttpGetIn">
43    </wsdl:input>
44      <wsdl:output message="tns:GetSessionIdHttpGetOut">
45    </wsdl:output>
46    </wsdl:operation>
47  </wsdl:portType>
48  <wsdl:portType name="StocksDataSecureSoap">
49    <wsdl:operation name="GetSessionId">
50      <wsdl:input message="tns:GetSessionIdSoapIn">
51    </wsdl:input>
52      <wsdl:output message="tns:GetSessionIdSoapOut">
53    </wsdl:output>
54    </wsdl:operation>
55  </wsdl:portType>
56  <wsdl:binding name="StocksDataSecureHttpGet" type="tns:StocksDataSecureHttpGet">
57    <http:binding verb="GET"/>
58    <wsdl:operation name="GetSessionId">
59      <http:operation location="/GetSessionId"/>
60      <wsdl:input>
61        <http:urlEncoded/>
62      </wsdl:input>
63      <wsdl:output>
64        <mime:mimeXml part="Body"/>
65      </wsdl:output>
66    </wsdl:operation>
67  </wsdl:binding>
68  <wsdl:binding name="StocksDataSecureSoap" type="tns:StocksDataSecureSoap">
69    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
70    <wsdl:operation name="GetSessionId">
71      <soap:operation soapAction="http://www.reuters.com/GetSessionId" style="document"/>
72      <wsdl:input>
73        <soap:body use="literal"/>
74      </wsdl:input>
75      <wsdl:output>
76        <soap:body use="literal"/>
77      </wsdl:output>
78    </wsdl:operation>
79  </wsdl:binding>
80  <wsdl:service name="StocksDataSecure">
81    <wsdl:port name="StocksDataSecureHttpGet" binding="tns:StocksDataSecureHttpGet">
82      <http:address location="test://"/>
83    </wsdl:port>
84    <wsdl:port name="StocksDataSecureSoap" binding="tns:StocksDataSecureSoap">
85      <soap:address location="test://"/>
86    </wsdl:port>
87  </wsdl:service>
88</wsdl:definitions>
89