xref: /PHP-8.1/ext/soap/tests/bugs/bug37083.wsdl (revision b15bfb91)
1<?xml version="1.0" encoding="UTF-8"?>
2<wsdl:definitions targetNamespace="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:intf="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3 <wsdl:types>
4  <schema targetNamespace="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns="http://www.w3.org/2001/XMLSchema">
5   <import namespace="http://xml.apache.org/xml-soap"/>
6   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
7   <complexType name="SearchRequestRange">
8    <sequence>
9     <element name="field" nillable="true" type="xsd:string"/>
10     <element name="max" nillable="true" type="xsd:anyType"/>
11     <element name="min" nillable="true" type="xsd:anyType"/>
12    </sequence>
13   </complexType>
14   <complexType name="ArrayOfSearchRequestRange">
15    <complexContent>
16     <restriction base="soapenc:Array">
17      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SearchRequestRange[]"/>
18     </restriction>
19    </complexContent>
20   </complexType>
21   <complexType name="SearchRequest">
22    <sequence>
23     <element name="index" nillable="true" type="xsd:string"/>
24     <element name="queryString" nillable="true" type="xsd:string"/>
25     <element name="ranges" nillable="true" type="impl:ArrayOfSearchRequestRange"/>
26    </sequence>
27   </complexType>
28   <complexType name="SearchResponseItem">
29    <sequence>
30     <element name="fields" nillable="true" type="apachesoap:Map"/>
31     <element name="identifier" nillable="true" type="xsd:string"/>
32     <element name="score" type="xsd:float"/>
33     <element name="xml" nillable="true" type="xsd:string"/>
34    </sequence>
35   </complexType>
36   <complexType name="ArrayOfSearchResponseItem">
37    <complexContent>
38     <restriction base="soapenc:Array">
39      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SearchResponseItem[]"/>
40     </restriction>
41    </complexContent>
42   </complexType>
43   <complexType name="SearchResponse">
44    <sequence>
45     <element name="offset" type="xsd:int"/>
46     <element name="queryTime" type="xsd:long"/>
47     <element name="results" nillable="true" type="impl:ArrayOfSearchResponseItem"/>
48     <element name="totalCount" type="xsd:int"/>
49    </sequence>
50   </complexType>
51  </schema>
52  <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
53   <import namespace="urn:java:de.pangaea.metadataportal.search.SearchService"/>
54   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
55   <complexType name="mapItem">
56    <sequence>
57     <element name="key" nillable="true" type="xsd:anyType"/>
58     <element name="value" nillable="true" type="xsd:anyType"/>
59    </sequence>
60   </complexType>
61   <complexType name="Map">
62    <sequence>
63     <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
64    </sequence>
65   </complexType>
66  </schema>
67 </wsdl:types>
68   <wsdl:message name="searchRequest">
69      <wsdl:part name="in0" type="impl:SearchRequest"/>
70      <wsdl:part name="in1" type="xsd:int"/>
71      <wsdl:part name="in2" type="xsd:int"/>
72   </wsdl:message>
73   <wsdl:message name="searchResponse">
74      <wsdl:part name="searchReturn" type="impl:SearchResponse"/>
75   </wsdl:message>
76   <wsdl:portType name="SearchServiceAxisImpl">
77      <wsdl:operation name="search" parameterOrder="in0 in1 in2">
78         <wsdl:input message="impl:searchRequest" name="searchRequest"/>
79         <wsdl:output message="impl:searchResponse" name="searchResponse"/>
80      </wsdl:operation>
81   </wsdl:portType>
82   <wsdl:binding name="SearchSoapBinding" type="impl:SearchServiceAxisImpl">
83      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
84      <wsdl:operation name="search">
85         <wsdlsoap:operation soapAction=""/>
86         <wsdl:input name="searchRequest">
87            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:java:de.pangaea.metadataportal.search.SearchService" use="encoded"/>
88         </wsdl:input>
89         <wsdl:output name="searchResponse">
90            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:java:de.pangaea.metadataportal.search.SearchService" use="encoded"/>
91         </wsdl:output>
92      </wsdl:operation>
93   </wsdl:binding>
94   <wsdl:service name="SearchServiceAxisImplService">
95      <wsdl:port binding="impl:SearchSoapBinding" name="Search">
96         <wsdlsoap:address location="test://"/>
97      </wsdl:port>
98   </wsdl:service>
99</wsdl:definitions>
100