xref: /PHP-5.5/ext/soap/tests/server025.wsdl (revision bafba669)
1<?xml version="1.0" ?>
2<definitions
3    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
7    xmlns:si="http://soapinterop.org/xsd"
8    xmlns:tns="http://linuxsrv.home/~dmitry/soap/test.wsdl"
9    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
10    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
11    xmlns="http://schemas.xmlsoap.org/wsdl/"
12    targetNamespace="http://testuri.org">
13
14  <message name="TestHeader1">
15    <part name="Test1" type="xsd:string" />
16  </message>
17  <message name="TestHeader2">
18    <part name="Test2" type="xsd:string" />
19  </message>
20
21  <message name="TestRequest">
22  </message>
23  <message name="TestResponse">
24    <part name="result" type="xsd:string" />
25  </message>
26
27  <portType name="TestServicePortType">
28    <operation name="test">
29      <input message="tns:TestRequest" />
30      <output message="tns:TestResponse" />
31    </operation>
32  </portType>
33
34  <binding name="TestServiceBinding" type="tns:TestServicePortType">
35    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
36    <operation name="test">
37      <soap:operation soapAction="Test" style="rpc" />
38      <input>
39        <soap:body namespace="http://testuri.org" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
40      </input>
41      <output>
42        <soap:body namespace="http://testuri.org" use="literal" />
43        <soap:header namespace="http://testuri.org" message="tns:TestHeader1" part="Test1" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
44        <soap:header namespace="http://testuri.org" message="tns:TestHeader2" part="Test2" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
45      </output>
46    </operation>
47  </binding>
48
49  <service name="TestService">
50    <port name="TestServicePort" binding="tns:TestServiceBinding">
51      <soap:address location="http://linuxsrv.home/~dmitry/soap/soap_server.php" />
52    </port>
53  </service>
54
55</definitions>
56