xref: /PHP-7.4/ext/soap/tests/bugs/bug47049.wsdl (revision 42bb8ed2)
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.example.org/reporter/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="reporter" targetNamespace="http://www.example.org/reporter/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
3    <wsdl:types><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/reporter/">
4        <xsd:complexType name="host">
5                <xsd:sequence>
6                        <xsd:element name="uuid" type="xsd:string"></xsd:element>
7                </xsd:sequence>
8        </xsd:complexType>
9        <xsd:complexType name="software_list">
10                <xsd:sequence>
11                        <xsd:element name="software" type="tns:software"
12                                maxOccurs="unbounded" minOccurs="1">
13                        </xsd:element>
14                </xsd:sequence>
15        </xsd:complexType>
16        <xsd:complexType name="software">
17                <xsd:sequence>
18                        <xsd:element name="name" type="xsd:string" maxOccurs="1" minOccurs="1"></xsd:element>
19                        <xsd:element name="version" type="xsd:string" maxOccurs="1" minOccurs="1"></xsd:element>
20                    <xsd:element name="state" type="xsd:string" maxOccurs="1" minOccurs="1"></xsd:element>
21                </xsd:sequence>
22        </xsd:complexType>
23        <xsd:complexType name="updates">
24                <xsd:sequence>
25                        <xsd:element name="update" type="tns:update"
26                                maxOccurs="unbounded" minOccurs="0">
27                        </xsd:element>
28                </xsd:sequence>
29        </xsd:complexType>
30
31        <xsd:complexType name="update">
32                <xsd:sequence>
33                        <xsd:element name="software" type="xsd:string"></xsd:element>
34                        <xsd:element name="old_version" type="xsd:string"></xsd:element>
35                        <xsd:element name="new_version" type="xsd:string"></xsd:element>
36                </xsd:sequence>
37        </xsd:complexType>
38
39</xsd:schema></wsdl:types>
40    <wsdl:message name="reportSoftwareStatusRequest">
41    <wsdl:part name="host" type="tns:host"/>
42    <wsdl:part name="software_list" type="tns:software_list"></wsdl:part>
43    <wsdl:part name="updates" type="tns:updates"></wsdl:part>
44    </wsdl:message>
45  <wsdl:message name="reportSoftwareStatusResponse">
46    <wsdl:part name="report_id" type="xsd:int"/>
47  </wsdl:message>
48  <wsdl:portType name="reporter">
49    <wsdl:operation name="reportSoftwareStatus">
50      <wsdl:input message="tns:reportSoftwareStatusRequest"/>
51      <wsdl:output message="tns:reportSoftwareStatusResponse"/>
52    </wsdl:operation>
53  </wsdl:portType>
54  <wsdl:binding name="reporterHTTP" type="tns:reporter">
55
56        <soap:binding style="document"
57                transport="http://schemas.xmlsoap.org/soap/http" />
58        <wsdl:operation name="reportSoftwareStatus">
59
60                <soap:operation
61                        soapAction="http://www.example.org/reporter/reportSoftwareStatus" />
62                <wsdl:input>
63
64
65                        <soap:body use="literal" />
66                </wsdl:input>
67                <wsdl:output>
68
69
70                        <soap:body use="literal" />
71                </wsdl:output>
72        </wsdl:operation>
73  </wsdl:binding>
74  <wsdl:service name="reporter">
75    <wsdl:port binding="tns:reporterHTTP" name="reporterHTTP">
76      <http:address location="test://"/>
77    </wsdl:port>
78  </wsdl:service>
79
80</wsdl:definitions>
81