xref: /PHP-7.1/ext/soap/tests/bugs/bug73237.wsdl (revision ddaf0405)
1<?xml version="1.0" encoding="UTF-8"?>
2<definitions targetNamespace="urn:test.example.org"
3             xmlns="http://schemas.xmlsoap.org/wsdl/"
4             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6             xmlns:tns="urn:test.example.org"
7             xmlns:ens="urn:object.test.example.org">
8    <types>
9        <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:object.test.example.org">
10            <import namespace="urn:test.example.org"/>
11            <complexType name="genericObject">
12                <sequence>
13                    <element name="type"               type="xsd:string"/>
14                    <element name="fieldsToNull"       type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
15                    <element name="Id"                 type="tns:ID" nillable="true" />
16                    <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
17                </sequence>
18            </complexType>
19        </schema>
20		<schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test.example.org">
21			<import namespace="urn:object.test.example.org"/>
22            <simpleType name="ID">
23                <restriction base="xsd:string">
24                    <length value="18"/>
25                    <pattern value='[a-zA-Z0-9]{18}'/>
26                </restriction>
27            </simpleType>
28            <element name="query">
29                <complexType>
30                    <sequence>
31                        <element name="queryString" type="xsd:string"/>
32                    </sequence>
33                </complexType>
34            </element>
35            <element name="queryResponse">
36                <complexType>
37                    <sequence>
38                        <element name="result" type="tns:QueryResult"/>
39                    </sequence>
40                </complexType>
41            </element>
42        </schema>
43    </types>
44
45    <message name="queryRequest">
46        <part element="tns:query" name="parameters"/>
47    </message>
48    <message name="queryResponse">
49        <part element="tns:queryResponse" name="parameters"/>
50    </message>
51
52    <portType name="Soap">
53        <operation name="query">
54            <documentation>Create a Query Cursor</documentation>
55            <input  message="tns:queryRequest"/>
56            <output message="tns:queryResponse"/>
57        </operation>
58    </portType>
59
60    <binding name="SoapBinding" type="tns:Soap">
61        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
62        <operation name="query">
63            <soap:operation soapAction=""/>
64            <input>
65                <soap:body parts="parameters" use="literal"/>
66            </input>
67            <output>
68                <soap:body use="literal"/>
69            </output>
70        </operation>
71    </binding>
72
73    <service name="TestService">
74        <port binding="tns:SoapBinding" name="Soap">
75            <soap:address location="https://localhost/services/Soap/u/31.0"/>
76        </port>
77    </service>
78</definitions>
79