xref: /PHP-5.4/ext/soap/tests/bugs/bug39832.wsdl (revision 6e0b78cd)
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	<types>
10		<s:schema elementFormDefault="qualified" targetNamespace="http://test.pl">
11			<s:complexType name="MessageInfoType">
12			   <s:sequence>
13			      <s:element name="NetworkErrorCode" type="s:integer" minOccurs="0"/>
14			   </s:sequence>
15			   <s:attribute name="priority" type="s0:PriorityType"/>
16			</s:complexType>
17			<s:simpleType name="PriorityType">
18				<s:restriction base="s:integer">
19					<s:minInclusive value="0"/>
20					<s:maxInclusive value="3"/>
21			   </s:restriction>
22			</s:simpleType>
23		</s:schema>
24	</types>
25
26	<message name="TestSoapIn">
27		<part name="parameters" type="s0:MessageInfoType" />
28	</message>
29	<message name="TestSoapOut">
30		<part name="parameters" type="s:string" />
31	</message>
32	<portType name="TestSoap">
33		<operation name="Test">
34			<input message="s0:TestSoapIn"/>
35			<output message="s0:TestSoapOut"/>
36		</operation>
37	</portType>
38	<binding name="TestSoap" type="s0:TestSoap">
39		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
40		<operation name="Test">
41			<soap:operation soapAction="http:/Test/Test" style="rpc"/>
42			<input>
43				<soap:body use="literal"/>
44			</input>
45			<output>
46				<soap:body use="literal"/>
47			</output>
48		</operation>
49	</binding>
50	<service name="Test">
51		<port name="TestSoapPort" binding="s0:TestSoap">
52			<soap:address location="http://localhost/server.php"/>
53		</port>
54	</service>
55</definitions>
56