xref: /php-src/ext/soap/tests/classmap.wsdl (revision c4a7ee45)
1<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.nothing.com" targetNamespace="http://schemas.nothing.com">
2	<wsdl:types>
3		<xsd:schema targetNamespace="http://schemas.nothing.com">
4			<xsd:complexType name="book">
5				<xsd:all>
6					<xsd:element name="a" type="xsd:string"/>
7					<xsd:element name="b" type="xsd:string"/>
8				</xsd:all>
9			</xsd:complexType>
10  </xsd:schema>
11	</wsdl:types>
12	<message name="dotestRequest">
13		<part name="dotestReturn" type="tns:book"/>
14  </message>
15	<message name="dotestResponse">
16		<part name="res" type="xsi:string"/>
17  </message>
18	<message name="dotest2Request">
19		<part name="dotest2" type="xsi:string"/>
20  </message>
21	<message name="dotest2Response">
22		<part name="res" type="tns:book"/>
23  </message>
24	<portType name="testPortType">
25		<operation name="dotest">
26			<input message="tns:dotestRequest"/>
27			<output message="tns:dotestResponse"/>
28		</operation>
29		<operation name="dotest2">
30			<input message="tns:dotest2Request"/>
31			<output message="tns:dotest2Response"/>
32		</operation>
33	</portType>
34	<binding name="testBinding" type="tns:testPortType">
35		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
36		<operation name="dotest">
37			<soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest" style="rpc"/>
38			<input>
39				<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
40			</input>
41			<output>
42				<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
43			</output>
44		</operation>
45		<operation name="dotest2">
46			<soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest2" style="rpc"/>
47			<input>
48				<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
49			</input>
50			<output>
51				<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
52			</output>
53		</operation>
54	</binding>
55	<service name="test">
56		<port name="testPort" binding="tns:testBinding">
57			<soap:address location="http://localhost:81/test/interface.php?class=test"/>
58		</port>
59	</service>
60</wsdl:definitions>
61