xref: /PHP-7.0/ext/soap/tests/bugs/bug38004.wsdl (revision c389a653)
1<?xml version="1.0" encoding="UTF-8"?>
2<definitions
3		xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
4		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5		xmlns:s="http://www.w3.org/2001/XMLSchema"
6		xmlns:s0="http://test.pl"
7		targetNamespace="http://test.pl"
8		xmlns="http://schemas.xmlsoap.org/wsdl/"
9>
10	<types>
11		<s:schema elementFormDefault="qualified" targetNamespace="http://test.pl">
12			<s:complexType name="Test">
13				<s:attribute use="required" name="strA" type="s:string"/>
14				<s:attribute use="required" name="strB" type="s:string"/>
15			</s:complexType>
16			<s:element type="s0:Test" name="Test"/>
17			<s:element type="s:string" name="Ret"/>
18		</s:schema>
19	</types>
20
21	<message name="TestSoapIn">
22		<part name="parameters" element="s0:Test"/>
23	</message>
24	<message name="TestSoapOut">
25		<part name="parameters" element="s0:Ret"/>
26	</message>
27	<portType name="TestSoap">
28		<operation name="Test">
29			<input message="s0:TestSoapIn"/>
30			<output message="s0:TestSoapOut"/>
31		</operation>
32	</portType>
33	<binding name="TestSoap" type="s0:TestSoap">
34		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
35style="document"/>
36		<operation name="Test">
37			<soap:operation soapAction="http:/Test/Test" style="document"/>
38			<input>
39				<soap:body use="literal"/>
40			</input>
41			<output>
42				<soap:body use="literal"/>
43			</output>
44		</operation>
45	</binding>
46	<service name="Test">
47		<port name="TestSoapPort" binding="s0:TestSoap">
48			<soap:address location="http://localhost:8080/~dmitry/bug38004/server.php"/>
49		</port>
50	</service>
51</definitions>
52