PageRenderTime 63ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world.wsdl

https://github.com/nsaputro/cxf
Web Services Description Language | 271 lines | 252 code | 1 blank | 18 comment | 0 complexity | 4e71552c3d8ccb57c21a20400793deca MD5 | raw file
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
  19. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  20. xmlns:tns="http://cxf.apache.org/w2j/hello_world_soap_http"
  21. xmlns:x1="http://cxf.apache.org/w2j/hello_world_soap_http/types"
  22. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  23. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  24. targetNamespace="http://cxf.apache.org/w2j/hello_world_soap_http" name="HelloWorld">
  25. <wsdl:types>
  26. <schema targetNamespace="http://cxf.apache.org/w2j/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://cxf.apache.org/w2j/hello_world_soap_http/types" elementFormDefault="qualified">
  27. <element name="sayHi">
  28. <complexType/>
  29. </element>
  30. <element name="sayHiResponse">
  31. <complexType>
  32. <sequence>
  33. <element name="responseType" type="string"/>
  34. </sequence>
  35. </complexType>
  36. </element>
  37. <element name="greetMe">
  38. <complexType>
  39. <sequence>
  40. <element name="requestType" type="string"/>
  41. </sequence>
  42. </complexType>
  43. </element>
  44. <element name="greetMeResponse">
  45. <complexType>
  46. <sequence>
  47. <element name="responseType" type="string"/>
  48. </sequence>
  49. </complexType>
  50. </element>
  51. <element name="greetMeSometime">
  52. <complexType>
  53. <sequence>
  54. <element name="requestType" type="string"/>
  55. </sequence>
  56. </complexType>
  57. </element>
  58. <element name="greetMeSometimeResponse">
  59. <complexType>
  60. <sequence>
  61. <element name="responseType" type="string"/>
  62. </sequence>
  63. </complexType>
  64. </element>
  65. <element name="greetMeOneWay">
  66. <complexType>
  67. <sequence>
  68. <element name="requestType" type="string"/>
  69. </sequence>
  70. </complexType>
  71. </element>
  72. <element name="testDocLitFault">
  73. <complexType>
  74. <sequence>
  75. <element name="faultType" type="string"/>
  76. </sequence>
  77. </complexType>
  78. </element>
  79. <element name="testDocLitFaultResponse">
  80. <complexType>
  81. <sequence/>
  82. </complexType>
  83. </element>
  84. <complexType name="ErrorCode">
  85. <sequence>
  86. <element name="minor" type="short"/>
  87. <element name="major" type="short"/>
  88. </sequence>
  89. </complexType>
  90. <element name="NoSuchCodeLit">
  91. <complexType>
  92. <sequence>
  93. <element name="code" type="x1:ErrorCode"/>
  94. </sequence>
  95. </complexType>
  96. </element>
  97. <element name="BadRecordLit" type="string"/>
  98. <complexType name="BadRecord">
  99. <sequence>
  100. <element name="reason" type="string"/>
  101. <element name="code" type="short"/>
  102. </sequence>
  103. </complexType>
  104. <complexType name="addNumbers">
  105. <sequence>
  106. <element name="arg0" type="int"/>
  107. <element name="arg1" type="int"/>
  108. </sequence>
  109. </complexType>
  110. <element name="addNumbers" type="x1:addNumbers"/>
  111. <complexType name="addNumbersResponse">
  112. <sequence>
  113. <element name="return" type="int"/>
  114. </sequence>
  115. </complexType>
  116. <element name="addNumbersResponse" type="x1:addNumbersResponse"/>
  117. <element name="BareDocument" type="string"/>
  118. <element name="BareDocumentResponse">
  119. <complexType>
  120. <sequence>
  121. <element name="company" type="string"/>
  122. </sequence>
  123. <attribute name="id" type="int"/>
  124. </complexType>
  125. </element>
  126. </schema>
  127. </wsdl:types>
  128. <wsdl:message name="sayHiRequest">
  129. <wsdl:part name="in" element="x1:sayHi"/>
  130. </wsdl:message>
  131. <wsdl:message name="sayHiResponse">
  132. <wsdl:part name="out" element="x1:sayHiResponse"/>
  133. </wsdl:message>
  134. <wsdl:message name="greetMeRequest">
  135. <wsdl:part name="in" element="x1:greetMe"/>
  136. </wsdl:message>
  137. <wsdl:message name="greetMeResponse">
  138. <wsdl:part name="out" element="x1:greetMeResponse"/>
  139. </wsdl:message>
  140. <wsdl:message name="greetMeSometimeRequest">
  141. <wsdl:part name="in" element="x1:greetMeSometime"/>
  142. </wsdl:message>
  143. <wsdl:message name="greetMeSometimeResponse">
  144. <wsdl:part name="out" element="x1:greetMeSometimeResponse"/>
  145. </wsdl:message>
  146. <wsdl:message name="greetMeOneWayRequest">
  147. <wsdl:part name="in" element="x1:greetMeOneWay"/>
  148. </wsdl:message>
  149. <wsdl:message name="testDocLitFaultRequest">
  150. <wsdl:part name="in" element="x1:testDocLitFault"/>
  151. </wsdl:message>
  152. <wsdl:message name="testDocLitFaultResponse">
  153. <wsdl:part name="out" element="x1:testDocLitFaultResponse"/>
  154. </wsdl:message>
  155. <wsdl:message name="NoSuchCodeLitFault">
  156. <wsdl:part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
  157. </wsdl:message>
  158. <wsdl:message name="BadRecordLitFault">
  159. <wsdl:part name="BadRecordLit" element="x1:BadRecordLit"/>
  160. </wsdl:message>
  161. <wsdl:message name="testDocLitBareRequest">
  162. <wsdl:part name="in" element="x1:BareDocument"/>
  163. </wsdl:message>
  164. <wsdl:message name="testDocLitBareResponse">
  165. <wsdl:part name="out" element="x1:BareDocumentResponse"/>
  166. </wsdl:message>
  167. <wsdl:portType name="Greeter">
  168. <wsdl:operation name="sayHi">
  169. <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
  170. <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
  171. </wsdl:operation>
  172. <wsdl:operation name="greetMe">
  173. <wsdl:input name="greetMeRequest" message="tns:greetMeRequest"/>
  174. <wsdl:output name="greetMeResponse" message="tns:greetMeResponse"/>
  175. </wsdl:operation>
  176. <wsdl:operation name="greetMeSometime">
  177. <wsdl:input name="greetMeSometimeRequest" message="tns:greetMeSometimeRequest"/>
  178. <wsdl:output name="greetMeSometimeResponse" message="tns:greetMeSometimeResponse"/>
  179. </wsdl:operation>
  180. <wsdl:operation name="greetMeOneWay">
  181. <wsdl:input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"/>
  182. </wsdl:operation>
  183. <wsdl:operation name="testDocLitFault">
  184. <wsdl:input name="testDocLitFaultRequest" message="tns:testDocLitFaultRequest"/>
  185. <wsdl:output name="testDocLitFaultResponse" message="tns:testDocLitFaultResponse"/>
  186. <wsdl:fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
  187. <wsdl:fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
  188. </wsdl:operation>
  189. <wsdl:operation name="testDocLitBare">
  190. <wsdl:input name="testDocLitBareRequest" message="tns:testDocLitBareRequest"/>
  191. <wsdl:output name="testDocLitBareResponse" message="tns:testDocLitBareResponse"/>
  192. </wsdl:operation>
  193. </wsdl:portType>
  194. <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
  195. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  196. <wsdl:operation name="sayHi">
  197. <soap:operation style="document"/>
  198. <wsdl:input>
  199. <soap:body use="literal"/>
  200. </wsdl:input>
  201. <wsdl:output>
  202. <soap:body use="literal"/>
  203. </wsdl:output>
  204. </wsdl:operation>
  205. <wsdl:operation name="greetMe">
  206. <soap:operation style="document"/>
  207. <wsdl:input>
  208. <soap:body use="literal"/>
  209. </wsdl:input>
  210. <wsdl:output>
  211. <soap:body use="literal"/>
  212. </wsdl:output>
  213. </wsdl:operation>
  214. <wsdl:operation name="greetMeSometime">
  215. <soap:operation style="document"/>
  216. <wsdl:input>
  217. <soap:body use="literal"/>
  218. </wsdl:input>
  219. <wsdl:output>
  220. <soap:body use="literal"/>
  221. </wsdl:output>
  222. </wsdl:operation>
  223. <wsdl:operation name="greetMeOneWay">
  224. <soap:operation style="document"/>
  225. <wsdl:input>
  226. <soap:body use="literal"/>
  227. </wsdl:input>
  228. </wsdl:operation>
  229. <wsdl:operation name="testDocLitFault">
  230. <soap:operation style="document"/>
  231. <wsdl:input>
  232. <soap:body use="literal"/>
  233. </wsdl:input>
  234. <wsdl:output>
  235. <soap:body use="literal"/>
  236. </wsdl:output>
  237. <wsdl:fault name="NoSuchCodeLitFault">
  238. <soap:fault name="NoSuchCodeLitFault" use="literal"/>
  239. </wsdl:fault>
  240. <wsdl:fault name="BadRecordLitFault">
  241. <soap:fault name="BadRecordLitFault" use="literal"/>
  242. </wsdl:fault>
  243. </wsdl:operation>
  244. <wsdl:operation name="testDocLitBare">
  245. <soap:operation style="document" soapAction="http://cxf.apache.org/w2j/hello_world_soap_http/testDocLitBare"/>
  246. <wsdl:input name="testDocLitBareRequest">
  247. <soap:body use="literal"/>
  248. </wsdl:input>
  249. <wsdl:output name="testDocLitBareResponse">
  250. <soap:body use="literal"/>
  251. </wsdl:output>
  252. </wsdl:operation>
  253. </wsdl:binding>
  254. <wsdl:service name="SOAPService">
  255. <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
  256. <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
  257. <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
  258. </wsdl:port>
  259. </wsdl:service>
  260. <wsdl:service name="SOAPService_Test1">
  261. <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
  262. <soap:address location="http://localhost:9100"/>
  263. </wsdl:port>
  264. <wsdl:port name="SoapPort_Test2" binding="tns:Greeter_SOAPBinding">
  265. <soap:address location="http://localhost:9101"/>
  266. </wsdl:port>
  267. </wsdl:service>
  268. </wsdl:definitions>