xref: /PHP-8.2/ext/soap/tests/bugs/bug29109.wsdl (revision b15bfb91)
1<?xml version="1.0" encoding="windows-1257"?>
2<definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
3xmlns:s0="http://tempuri.org/"
4xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5xmlns:s="http://www.w3.org/2001/XMLSchema"
6xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
7xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
8xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" name="test"
9targetNamespace="http://tempuri.org/"
10xmlns="http://schemas.xmlsoap.org/wsdl/">
11  <types>
12    <xs:schema elementFormDefault="qualified"
13targetNamespace="http://tempuri.org/"
14xmlns:xs="http://www.w3.org/2001/XMLSchema">
15      <xs:element name="HelloWorld">
16        <xs:complexType />
17      </xs:element>
18      <xs:element name="HelloWorldResponse">
19        <xs:complexType>
20          <xs:sequence>
21
22            <xs:element minOccurs="0" maxOccurs="1"
23name="HelloWorldResult" type="xs:string" />
24          </xs:sequence>
25        </xs:complexType>
26      </xs:element>
27      <xs:element name="string" type="xs:string" />
28    </xs:schema>
29  </types>
30  <message name="HelloWorldSoapIn">
31    <part name="parameters" element="s0:HelloWorld" />
32
33  </message>
34  <message name="HelloWorldSoapOut">
35    <part name="parameters" element="s0:HelloWorldResponse" />
36  </message>
37  <message name="HelloWorldHttpGetIn" />
38  <message name="HelloWorldHttpGetOut">
39    <part name="Body" element="s0:string" />
40  </message>
41  <message name="HelloWorldHttpPostIn" />
42
43  <message name="HelloWorldHttpPostOut">
44    <part name="Body" element="s0:string" />
45  </message>
46  <portType name="testSoap">
47    <operation name="HelloWorld">
48      <input message="s0:HelloWorldSoapIn" />
49      <output message="s0:HelloWorldSoapOut" />
50    </operation>
51  </portType>
52
53  <portType name="testHttpGet">
54    <operation name="HelloWorld">
55      <input message="s0:HelloWorldHttpGetIn" />
56      <output message="s0:HelloWorldHttpGetOut" />
57    </operation>
58  </portType>
59  <portType name="testHttpPost">
60    <operation name="HelloWorld">
61      <input message="s0:HelloWorldHttpPostIn" />
62
63      <output message="s0:HelloWorldHttpPostOut" />
64    </operation>
65  </portType>
66  <binding name="testSoap" type="s0:testSoap">
67    <soap:binding style="document"
68transport="http://schemas.xmlsoap.org/soap/http" />
69    <operation name="HelloWorld">
70      <soap:operation soapAction="http://tempuri.org/HelloWorld"
71style="document" />
72      <input>
73        <soap:body use="literal" />
74
75      </input>
76      <output>
77        <soap:body use="literal" />
78      </output>
79    </operation>
80  </binding>
81  <binding name="testHttpGet" type="s0:testHttpGet">
82    <http:binding verb="GET" />
83    <operation name="HelloWorld">
84
85      <http:operation location="/HelloWorld" />
86      <input>
87        <http:urlEncoded />
88      </input>
89      <output>
90        <mime:mimeXml part="Body" />
91      </output>
92    </operation>
93  </binding>
94
95  <binding name="testHttpPost" type="s0:testHttpPost">
96    <http:binding verb="POST" />
97    <operation name="HelloWorld">
98      <http:operation location="/HelloWorld" />
99      <input>
100        <mime:content part="" type="application/x-www-form-urlencoded"
101/>
102      </input>
103      <output>
104        <mime:mimeXml part="Body" />
105
106      </output>
107    </operation>
108  </binding>
109  <service name="test">
110    <port name="testSoap" binding="s0:testSoap">
111      <soap:address location="http://localhost:81/test.asmx" />
112    </port>
113    <port name="testHttpGet" binding="s0:testHttpGet">
114      <http:address location="http://localhost:81/test.asmx" />
115
116    </port>
117    <port name="testHttpPost" binding="s0:testHttpPost">
118      <http:address location="http://localhost:81/test.asmx" />
119    </port>
120  </service>
121</definitions>
122