xref: /PHP-7.0/ext/soap/interop/interopB.wsdl.php (revision 1101a375)
1<?php
2header("Content-Type: text/xml");
3echo '<?xml version="1.0"?>';
4echo "\n";
5?>
6<definitions name="InteropTest"
7  targetNamespace="http://soapinterop.org/"
8  xmlns="http://schemas.xmlsoap.org/wsdl/"
9  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
10  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
12  xmlns:tns="http://soapinterop.org/"
13  xmlns:s="http://soapinterop.org/xsd"
14  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
15
16	<types>
17		<schema xmlns="http://www.w3.org/2001/XMLSchema"
18		  targetNamespace="http://soapinterop.org/xsd">
19
20			<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
21
22			<complexType name="ArrayOfstring">
23				<complexContent>
24					<restriction base="SOAP-ENC:Array">
25 						<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
26					</restriction>
27				</complexContent>
28			</complexType>
29			<complexType name="ArrayOfint">
30				<complexContent>
31					<restriction base="SOAP-ENC:Array">
32						<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
33					</restriction>
34				</complexContent>
35			</complexType>
36			<complexType name="ArrayOffloat">
37				<complexContent>
38					<restriction base="SOAP-ENC:Array">
39						<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
40					</restriction>
41				</complexContent>
42			</complexType>
43			<complexType name="ArrayOfSOAPStruct">
44				<complexContent>
45					<restriction base="SOAP-ENC:Array">
46						<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
47					</restriction>
48				</complexContent>
49			</complexType>
50			<complexType name="SOAPStruct">
51				<all>
52					<element name="varString" type="string" nillable="true"/>
53					<element name="varInt" type="int" nillable="true"/>
54					<element name="varFloat" type="float" nillable="true"/>
55				</all>
56			</complexType>
57			<complexType name="SOAPStructStruct">
58				<all>
59					<element name="varString" type="string" nillable="true"/>
60					<element name="varInt" type="int" nillable="true"/>
61					<element name="varFloat" type="float" nillable="true"/>
62					<element name="varStruct" type="s:SOAPStruct"/>
63				</all>
64			</complexType>
65			<complexType name="SOAPArrayStruct">
66				<all>
67					<element name="varString" type="string" nillable="true"/>
68					<element name="varInt" type="int" nillable="true"/>
69					<element name="varFloat" type="float" nillable="true"/>
70					<element name="varArray" type="s:ArrayOfstring"/>
71				</all>
72			</complexType>
73   		<complexType name="ArrayOfString2D">
74     		<complexContent>
75					<restriction base="SOAP-ENC:Array">
76	     			<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[,]"/>
77					</restriction>
78     		</complexContent>
79   		</complexType>
80		</schema>
81	</types>
82
83	<message name="echoStructAsSimpleTypesRequest">
84		<part name="inputStruct" type="s:SOAPStruct"/>
85	</message>
86	<message name="echoStructAsSimpleTypesResponse">
87		<part name="outputString" type="xsd:string"/>
88		<part name="outputInteger" type="xsd:int"/>
89		<part name="outputFloat" type="xsd:float"/>
90	</message>
91	<message name="echoSimpleTypesAsStructRequest">
92		<part name="inputString" type="xsd:string"/>
93		<part name="inputInteger" type="xsd:int"/>
94		<part name="inputFloat" type="xsd:float"/>
95	</message>
96	<message name="echoSimpleTypesAsStructResponse">
97		<part name="return" type="s:SOAPStruct"/>
98	</message>
99	<message name="echo2DStringArrayRequest">
100		<part name="input2DStringArray" type="s:ArrayOfString2D"/>
101	</message>
102	<message name="echo2DStringArrayResponse">
103		<part name="return" type="s:ArrayOfString2D"/>
104	</message>
105	<message name="echoNestedStructRequest">
106		<part name="inputStruct" type="s:SOAPStructStruct"/>
107	</message>
108	<message name="echoNestedStructResponse">
109		<part name="return" type="s:SOAPStructStruct"/>
110	</message>
111		<message name="echoNestedArrayRequest">
112		<part name="inputStruct" type="s:SOAPArrayStruct"/>
113	</message>
114	<message name="echoNestedArrayResponse">
115		<part name="return" type="s:SOAPArrayStruct"/>
116	</message>
117
118	<portType name="InteropTestPortTypeB">
119		<operation name="echoStructAsSimpleTypes" parameterOrder="inputStruct outputString outputInteger outputFloat">
120			<input message="tns:echoStructAsSimpleTypesRequest" name="echoStructAsSimpleTypes"/>
121			<output message="tns:echoStructAsSimpleTypesResponse" name="echoStructAsSimpleTypesResponse"/>
122		</operation>
123		<operation name="echoSimpleTypesAsStruct" parameterOrder="inputString inputInteger inputFloat">
124			<input message="tns:echoSimpleTypesAsStructRequest" name="echoSimpleTypesAsStruct"/>
125			<output message="tns:echoSimpleTypesAsStructResponse" name="echoSimpleTypesAsStructResponse"/>
126		</operation>
127		<operation name="echo2DStringArray" parameterOrder="input2DStringArray">
128			<input message="tns:echo2DStringArrayRequest" name="echo2DStringArray"/>
129			<output message="tns:echo2DStringArrayResponse" name="echo2DStringArrayResponse"/>
130		</operation>
131		<operation name="echoNestedStruct" parameterOrder="inputStruct">
132			<input message="tns:echoNestedStructRequest" name="echoNestedStruct"/>
133			<output message="tns:echoNestedStructResponse" name="echoNestedStructResponse"/>
134		</operation>
135		<operation name="echoNestedArray" parameterOrder="inputStruct">
136			<input message="tns:echoNestedArrayRequest" name="echoNestedArray"/>
137			<output message="tns:echoNestedArrayResponse" name="echoNestedArrayResponse"/>
138		</operation>
139	</portType>
140
141	<binding name="InteropTestSoapBindingB" type="tns:InteropTestPortTypeB">
142		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
143		<operation name="echoStructAsSimpleTypes">
144			<soap:operation soapAction="http://soapinterop.org/"/>
145			<input>
146				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
147			</input>
148			<output>
149				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
150			</output>
151		</operation>
152		<operation name="echoSimpleTypesAsStruct">
153			<soap:operation soapAction="http://soapinterop.org/"/>
154			<input>
155				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
156			</input>
157			<output>
158				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
159			</output>
160		</operation>
161		<operation name="echo2DStringArray">
162			<soap:operation soapAction="http://soapinterop.org/"/>
163			<input>
164				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
165			</input>
166			<output>
167				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
168			</output>
169		</operation>
170		<operation name="echoNestedStruct">
171			<soap:operation soapAction="http://soapinterop.org/"/>
172			<input>
173				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
174			</input>
175			<output>
176				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
177			</output>
178		</operation>
179		<operation name="echoNestedArray">
180			<soap:operation soapAction="http://soapinterop.org/"/>
181			<input>
182				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
183			</input>
184			<output>
185				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
186			</output>
187		</operation>
188	</binding>
189
190	<service name="interopLabB">
191  		<port name="interopTestPortB" binding="tns:InteropTestSoapBindingB">
192    			<soap:address location="<?php echo ((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));?>/server_round2_groupB.php"/>
193  		</port>
194	</service>
195
196</definitions>
197