xref: /PHP-7.0/ext/soap/tests/bugs/bug36908.wsdl (revision 07d77504)
1<?xml version="1.0"?>
2<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
5xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
6xmlns:api="http://soap.dev/soap/PublisherService"
7xmlns:types="http://soap.dev/soap/types"
8targetNamespace="http://soap.dev/soap/PublisherService">
9  <wsdl:types>
10    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
12xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
13xmlns:types="http://soap.dev/soap/types"
14targetNamespace="http://soap.dev/soap/types">
15      <xsd:complexType name="publisher">
16        <xsd:all>
17          <xsd:element name="region_id" type="xsd:long" default="52"/>
18        </xsd:all>
19      </xsd:complexType>
20    </xsd:schema>
21  </wsdl:types>
22  <wsdl:message name="addInput">
23    <wsdl:part name="publisher" type="types:publisher"/>
24  </wsdl:message>
25  <wsdl:message name="addOutput">
26    <wsdl:part name="out" type="xsd:string"/>
27  </wsdl:message>
28  <wsdl:portType name="PublisherServicePortType">
29    <wsdl:operation name="add">
30      <wsdl:input message="api:addInput"/>
31      <wsdl:output message="api:addOutput"/>
32    </wsdl:operation>
33  </wsdl:portType>
34  <wsdl:binding name="PublisherServiceBinding" type="api:PublisherServicePortType">
35    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
36    <wsdl:operation name="add">
37      <soap:operation soapAction="urn:PublisherService#add" style="rpc"/>
38      <wsdl:input>
39        <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
40      </wsdl:input>
41      <wsdl:output>
42        <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
43      </wsdl:output>
44    </wsdl:operation>
45  </wsdl:binding>
46  <wsdl:service name="PublisherService">
47    <wsdl:port name="PublisherServicePort" binding="api:PublisherServiceBinding">
48      <soap:address location="http://soap.dev/soap//publisher_test.php"/>
49    </wsdl:port>
50  </wsdl:service>
51</wsdl:definitions>
52