summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs/bug30175.wsdl
blob: f4cae2554e41403f26ba654bb6c7385dfccada66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="qweb"
 targetNamespace="http://www.newsblob.com/qweb.wsdl"
 xmlns:tns="http://www.newsblob.com/qweb.wsdl"
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:ns1="urn:qweb"
 xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
 xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
 xmlns="http://schemas.xmlsoap.org/wsdl/">

<types>

 <schema targetNamespace="urn:qweb"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns1="urn:qweb"
  xmlns="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="unqualified"
  attributeFormDefault="unqualified">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="qwebGetHostInfoResponse">
   <sequence>
    <element name="return" type="ns1:HostInfo" minOccurs="1" maxOccurs="1"/>
   </sequence>
  </complexType>
  <complexType name="ArrayOfHostInfo">
   <complexContent>
    <restriction base="SOAP-ENC:Array">
     <sequence>
      <element name="item" type="ns1:HostInfo" minOccurs="0" maxOccurs="unbounded"/>
     </sequence>
     <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ns1:HostInfo[]"/>
    </restriction>
   </complexContent>
  </complexType>
 </schema>

</types>

<message name="qwebSquareRequest">
 <part name="mynum" type="xsd:int"/>
</message>

<message name="qwebSquareResponse">
 <part name="result" type="xsd:int"/>
</message>

<message name="qwebStrlenRequest">
 <part name="mystr" type="xsd:string"/>
</message>

<message name="qwebStrlenResponse">
 <part name="result" type="xsd:int"/>
</message>

<message name="qwebGetHostInfoRequest">
</message>

<message name="HostInfo">
 <part name="name" type="xsd:string"/>
 <part name="shortDescription" type="xsd:string"/>
 <part name="ipAddress" type="xsd:string"/>
</message>

<portType name="qwebPortType">
 <operation name="qwebSquare">
  <documentation>Service definition of function ns1__qwebSquare</documentation>
  <input message="tns:qwebSquareRequest"/>
  <output message="tns:qwebSquareResponse"/>
 </operation>
 <operation name="qwebStrlen">
  <documentation>Service definition of function ns1__qwebStrlen</documentation>
  <input message="tns:qwebStrlenRequest"/>
  <output message="tns:qwebStrlenResponse"/>
 </operation>
 <operation name="qwebGetHostInfo">
  <documentation>Service definition of function ns1__qwebGetHostInfo</documentation>
  <input message="tns:qwebGetHostInfoRequest"/>
  <output message="tns:HostInfo"/>
 </operation>
</portType>

<binding name="qweb" type="tns:qwebPortType">
 <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
 <operation name="qwebSquare">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="qwebStrlen">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="qwebGetHostInfo">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
</binding>

<service name="qweb">
 <documentation>Demo Qweb SOAP interface</documentation>
 <port name="qweb" binding="tns:qweb">
  <SOAP:address location="http://www.newsblob.com:6969"/>
 </port>
</service>

</definitions>