xref: /php-src/ext/soap/tests/test.wsdl (revision de6184ed)
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://linuxsrv.home/~dmitry/soap/test.wsdl">
13
14  <types>
15    <xsd:schema targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
16      <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
17      <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
18    </xsd:schema>
19  </types>
20
21  <message name="AddRequest">
22    <part name="x" type="xsd:double" />
23    <part name="y" type="xsd:double" />
24  </message>
25  <message name="AddResponse">
26    <part name="result" type="xsd:double" />
27  </message>
28
29  <portType name="TestServicePortType">
30    <operation name="Add">
31      <input message="tns:AddRequest" />
32      <output message="tns:AddResponse" />
33    </operation>
34  </portType>
35
36  <binding name="TestServiceBinding" type="tns:TestServicePortType">
37    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
38    <operation name="Add">
39      <soap:operation soapAction="Add" style="rpc" />
40      <input>
41        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
42      </input>
43      <output>
44        <soap:body 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