xref: /PHP-7.2/ext/soap/interop/interop.wsdl.php (revision 49b9c595)
1<?php
2header("Content-Type: text/xml");
3echo '<?xml version="1.0"?>';
4echo "\n";
5?>
6<definitions name="InteropTest"
7    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
9    xmlns:tns="http://soapinterop.org/"
10    xmlns:s="http://soapinterop.org/xsd"
11    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
12    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
13    xmlns="http://schemas.xmlsoap.org/wsdl/"
14    targetNamespace="http://soapinterop.org/">
15
16  <types>
17  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
18   <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
19   <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
20   <xsd:complexType name="ArrayOfstring">
21    <xsd:complexContent>
22     <xsd:restriction base="SOAP-ENC:Array">
23      <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
24     </xsd:restriction>
25    </xsd:complexContent>
26   </xsd:complexType>
27   <xsd:complexType name="ArrayOfint">
28    <xsd:complexContent>
29     <xsd:restriction base="SOAP-ENC:Array">
30      <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
31     </xsd:restriction>
32    </xsd:complexContent>
33   </xsd:complexType>
34   <xsd:complexType name="ArrayOffloat">
35    <xsd:complexContent>
36     <xsd:restriction base="SOAP-ENC:Array">
37      <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
38     </xsd:restriction>
39    </xsd:complexContent>
40   </xsd:complexType>
41   <xsd:complexType name="SOAPStruct">
42    <xsd:all>
43     <xsd:element name="varString" type="string"/>
44     <xsd:element name="varInt" type="int"/>
45     <xsd:element name="varFloat" type="float"/>
46    </xsd:all>
47   </xsd:complexType>
48   <xsd:complexType name="ArrayOfSOAPStruct">
49    <xsd:complexContent>
50     <xsd:restriction base="SOAP-ENC:Array">
51      <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
52     </xsd:restriction>
53    </xsd:complexContent>
54   </xsd:complexType>
55  </schema>
56  </types>
57
58  <message name="echoStringRequest">
59    <part name="inputString" type="xsd:string" />
60  </message>
61  <message name="echoStringResponse">
62    <part name="outputString" type="xsd:string" />
63  </message>
64  <message name="echoStringArrayRequest">
65    <part name="inputStringArray" type="s:ArrayOfstring" />
66  </message>
67  <message name="echoStringArrayResponse">
68    <part name="outputStringArray" type="s:ArrayOfstring" />
69  </message>
70  <message name="echoIntegerRequest">
71    <part name="inputInteger" type="xsd:int" />
72  </message>
73  <message name="echoIntegerResponse">
74    <part name="outputInteger" type="xsd:int" />
75  </message>
76  <message name="echoIntegerArrayRequest">
77    <part name="inputIntegerArray" type="s:ArrayOfint" />
78  </message>
79  <message name="echoIntegerArrayResponse">
80    <part name="outputIntegerArray" type="s:ArrayOfint" />
81  </message>
82  <message name="echoFloatRequest">
83    <part name="inputFloat" type="xsd:float" />
84  </message>
85  <message name="echoFloatResponse">
86    <part name="outputFloat" type="xsd:float" />
87  </message>
88  <message name="echoFloatArrayRequest">
89    <part name="inputFloatArray" type="s:ArrayOffloat" />
90  </message>
91  <message name="echoFloatArrayResponse">
92    <part name="outputFloatArray" type="s:ArrayOffloat" />
93  </message>
94  <message name="echoStructRequest">
95    <part name="inputStruct" type="s:SOAPStruct" />
96  </message>
97  <message name="echoStructResponse">
98    <part name="outputStruct" type="s:SOAPStruct" />
99  </message>
100  <message name="echoStructArrayRequest">
101    <part name="inputStructArray" type="s:ArrayOfSOAPStruct" />
102  </message>
103  <message name="echoStructArrayResponse">
104    <part name="outputStructArray" type="s:ArrayOfSOAPStruct" />
105  </message>
106  <message name="echoVoidRequest">
107  </message>
108  <message name="echoVoidResponse">
109  </message>
110  <message name="echoBase64Request">
111    <part name="inputBase64" type="xsd:base64Binary" />
112  </message>
113  <message name="echoBase64Response">
114    <part name="outputBase64" type="xsd:base64Binary" />
115  </message>
116  <message name="echoDateRequest">
117    <part name="inputDate" type="xsd:dateTime" />
118  </message>
119  <message name="echoDateResponse">
120    <part name="outputDate" type="xsd:dateTime" />
121  </message>
122  <message name="echoHexBinaryRequest">
123    <part name="inputHexBinary" type="xsd:hexBinary" />
124  </message>
125  <message name="echoHexBinaryResponse">
126    <part name="outputHexBinary" type="xsd:hexBinary" />
127  </message>
128  <message name="echoDecimalRequest">
129    <part name="inputDecimal" type="xsd:decimal" />
130  </message>
131  <message name="echoDecimalResponse">
132    <part name="outputDecimal" type="xsd:decimal" />
133  </message>
134  <message name="echoBooleanRequest">
135    <part name="inputBoolean" type="xsd:boolean" />
136  </message>
137  <message name="echoBooleanResponse">
138    <part name="outputBoolean" type="xsd:boolean" />
139  </message>
140
141  <portType name="InteropTestPortType">
142    <operation name="echoString">
143      <input message="tns:echoStringRequest"/>
144      <output message="tns:echoStringResponse"/>
145    </operation>
146    <operation name="echoStringArray">
147      <input message="tns:echoStringArrayRequest"/>
148      <output message="tns:echoStringArrayResponse"/>
149    </operation>
150    <operation name="echoInteger">
151      <input message="tns:echoIntegerRequest"/>
152      <output message="tns:echoIntegerResponse"/>
153    </operation>
154    <operation name="echoIntegerArray">
155      <input message="tns:echoIntegerArrayRequest"/>
156      <output message="tns:echoIntegerArrayResponse"/>
157    </operation>
158    <operation name="echoFloat">
159      <input message="tns:echoFloatRequest"/>
160      <output message="tns:echoFloatResponse"/>
161    </operation>
162    <operation name="echoFloatArray">
163      <input message="tns:echoFloatArrayRequest"/>
164      <output message="tns:echoFloatArrayResponse"/>
165    </operation>
166    <operation name="echoStruct">
167      <input message="tns:echoStructRequest"/>
168      <output message="tns:echoStructResponse"/>
169    </operation>
170    <operation name="echoStructArray">
171      <input message="tns:echoStructArrayRequest"/>
172      <output message="tns:echoStructArrayResponse"/>
173    </operation>
174    <operation name="echoVoid">
175      <input message="tns:echoVoidRequest"/>
176      <output message="tns:echoVoidResponse"/>
177    </operation>
178    <operation name="echoBase64">
179      <input message="tns:echoBase64Request"/>
180      <output message="tns:echoBase64Response"/>
181    </operation>
182    <operation name="echoDate">
183      <input message="tns:echoDateRequest"/>
184      <output message="tns:echoDateResponse"/>
185    </operation>
186    <operation name="echoHexBinary">
187      <input message="tns:echoHexBinaryRequest"/>
188      <output message="tns:echoHexBinaryResponse"/>
189    </operation>
190    <operation name="echoDecimal">
191      <input message="tns:echoDecimalRequest"/>
192      <output message="tns:echoDecimalResponse"/>
193    </operation>
194    <operation name="echoBoolean">
195      <input message="tns:echoBooleanRequest"/>
196      <output message="tns:echoBooleanResponse"/>
197    </operation>
198  </portType>
199
200  <binding name="InteropTestBinding" type="tns:InteropTestPortType">
201    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
202    <operation name="echoString">
203      <soap:operation soapAction="http://" style="rpc"/>
204      <input>
205        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
206      </input>
207      <output>
208        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
209      </output>
210    </operation>
211    <operation name="echoStringArray">
212      <soap:operation soapAction="http://" style="rpc"/>
213      <input>
214        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
215      </input>
216      <output>
217        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
218      </output>
219    </operation>
220    <operation name="echoInteger">
221      <soap:operation soapAction="http://" style="rpc"/>
222      <input>
223        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
224      </input>
225      <output>
226        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
227      </output>
228    </operation>
229    <operation name="echoIntegerArray">
230      <soap:operation soapAction="http://" style="rpc"/>
231      <input>
232        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
233      </input>
234      <output>
235        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
236      </output>
237    </operation>
238    <operation name="echoFloat">
239      <soap:operation soapAction="http://" style="rpc"/>
240      <input>
241        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
242      </input>
243      <output>
244        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
245      </output>
246    </operation>
247    <operation name="echoFloatArray">
248      <soap:operation soapAction="http://" style="rpc"/>
249      <input>
250        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
251      </input>
252      <output>
253        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
254      </output>
255    </operation>
256    <operation name="echoStruct">
257      <soap:operation soapAction="http://" style="rpc"/>
258      <input>
259        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
260      </input>
261      <output>
262        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
263      </output>
264    </operation>
265    <operation name="echoStructArray">
266      <soap:operation soapAction="http://" style="rpc"/>
267      <input>
268        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
269      </input>
270      <output>
271        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
272      </output>
273    </operation>
274    <operation name="echoVoid">
275      <soap:operation soapAction="http://" style="rpc"/>
276      <input>
277        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
278      </input>
279      <output>
280        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
281      </output>
282    </operation>
283    <operation name="echoBase64">
284      <soap:operation soapAction="http://" style="rpc"/>
285      <input>
286        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
287      </input>
288      <output>
289        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
290      </output>
291    </operation>
292    <operation name="echoDate">
293      <soap:operation soapAction="http://" style="rpc"/>
294      <input>
295        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
296      </input>
297      <output>
298        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
299      </output>
300    </operation>
301    <operation name="echoHexBinary">
302      <soap:operation soapAction="http://" style="rpc"/>
303      <input>
304        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
305      </input>
306      <output>
307        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
308      </output>
309    </operation>
310    <operation name="echoDecimal">
311      <soap:operation soapAction="http://" style="rpc"/>
312      <input>
313        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
314      </input>
315      <output>
316        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
317      </output>
318    </operation>
319    <operation name="echoBoolean">
320      <soap:operation soapAction="http://" style="rpc"/>
321      <input>
322        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
323      </input>
324      <output>
325        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
326      </output>
327    </operation>
328  </binding>
329
330  <service name="InteropTest">
331    <port name="InteropTestPort" binding="tns:InteropTestBinding">
332			<soap:address location="<?php echo ((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));?>/server_round2_base.php"/>
333    </port>
334  </service>
335
336</definitions>
337