xref: /PHP-8.3/ext/soap/tests/bugs/bug42326.wsdl (revision b15bfb91)
1<?xml version="1.0"?>
2<wsdl:definitions name="OSCAdmin.wsdl"
3targetNamespace="http://www.example.com/"
4xmlns:tns="http://www.example.com/"
5xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
6xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
8    <wsdl:types>
9
10       <xsd:schema targetNamespace="http://www.example.com/"
11              xmlns="http://www.w3.org/2000/10/XMLSchema">
12              <xsd:element name="productDetailsType">
13              <xsd:complexType>
14              <xsd:all>
15              <xsd:element name="id" type="xsd:integer"/>
16
17              </xsd:all>
18              </xsd:complexType>
19              </xsd:element>
20       </xsd:schema>
21
22
23       <xsd:schema targetNamespace="http://www.example.com/"
24              xmlns="http://www.w3.org/2000/10/XMLSchema">
25              <xsd:element name="GetProductsRequest">
26              <xsd:complexType>
27              <xsd:all>
28              <xsd:element name="time" type="xsd:string"/>
29              </xsd:all>
30              </xsd:complexType>
31              </xsd:element>
32       </xsd:schema>
33
34       <xsd:schema targetNamespace="http://www.example.com/"
35              xmlns="http://www.w3.org/2000/10/XMLSchema">
36              <xsd:element name="GetProductsResponse">
37              <xsd:complexType>
38              <xsd:all>
39              <xsd:element name="products" type="tns:productDetailsType"/>
40              </xsd:all>
41              </xsd:complexType>
42              </xsd:element>
43       </xsd:schema>
44
45
46    </wsdl:types>
47
48    <wsdl:message name="GetProductsRequest">
49        <wsdl:part name="in" element="tns:GetProductsRequest"/>
50    </wsdl:message>
51
52    <wsdl:message name="GetProductsResponse">
53        <wsdl:part name="out" element="tns:GetProductsResponse"/>
54    </wsdl:message>
55
56    <wsdl:portType name="OSCAdminPortType">
57        <wsdl:operation name="GetProducts">
58           <wsdl:input message="tns:GetProductsRequest"/>
59           <wsdl:output message="tns:GetProductsResponse"/>
60        </wsdl:operation>
61    </wsdl:portType>
62
63    <wsdl:binding name="OSCAdminSoapBinding" type="tns:OSCAdminPortType">
64        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
65        <wsdl:operation name="GetProducts">
66           <soap:operation soapAction=""/>
67           <wsdl:input name="in">
68               <soap:body use="literal"/>
69           </wsdl:input>
70           <wsdl:output name="out">
71               <soap:body use="literal"/>
72           </wsdl:output>
73        </wsdl:operation>
74    </wsdl:binding>
75
76    <wsdl:service name="OSCAdminService">
77        <wsdl:port name="OSCAdminPort" binding="tns:OSCAdminSoapBinding">
78           <soap:address location="test://"/>
79        </wsdl:port>
80    </wsdl:service>
81
82</wsdl:definitions>
83