PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/service-unit/wsdl/hello_world.wsdl

https://github.com/nilupa/cxf
Web Services Description Language | 245 lines | 203 code | 23 blank | 19 comment | 0 complexity | 778c53011aaf82790c4dd2924c5c23e1 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 name="HelloWorld" targetNamespace="http://apache.org/hello_world"
  19. xmlns="http://schemas.xmlsoap.org/wsdl/"
  20. xmlns:jms="http://cxf.apache.org/transports/jms"
  21. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  22. xmlns:tns="http://apache.org/hello_world"
  23. xmlns:x1="http://apache.org/hello_world/types"
  24. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  25. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  26. <wsdl:types>
  27. <schema targetNamespace="http://apache.org/hello_world/types"
  28. xmlns="http://www.w3.org/2001/XMLSchema"
  29. xmlns:tns="http://apache.org/hello_world/types"
  30. elementFormDefault="qualified">
  31. <simpleType name="MyStringType">
  32. <restriction base="string">
  33. <maxLength value="30" />
  34. </restriction>
  35. </simpleType>
  36. <element name="sayHi">
  37. <complexType/>
  38. </element>
  39. <element name="sayHiResponse">
  40. <complexType>
  41. <sequence>
  42. <element name="responseType" type="string"/>
  43. </sequence>
  44. </complexType>
  45. </element>
  46. <element name="greetMe">
  47. <complexType>
  48. <sequence>
  49. <element name="requestType" type="tns:MyStringType"/>
  50. </sequence>
  51. </complexType>
  52. </element>
  53. <element name="greetMeResponse">
  54. <complexType>
  55. <sequence>
  56. <element name="responseType" type="string"/>
  57. </sequence>
  58. </complexType>
  59. </element>
  60. <element name="greetMeOneWay">
  61. <complexType>
  62. <sequence>
  63. <element name="requestType" type="string"/>
  64. </sequence>
  65. </complexType>
  66. </element>
  67. <element name="pingMe">
  68. <complexType/>
  69. </element>
  70. <element name="pingMeResponse">
  71. <complexType/>
  72. </element>
  73. <element name="faultDetail">
  74. <complexType>
  75. <sequence>
  76. <element name="minor" type="short"/>
  77. <element name="major" type="short"/>
  78. </sequence>
  79. </complexType>
  80. </element>
  81. </schema>
  82. </wsdl:types>
  83. <wsdl:message name="sayHiRequest">
  84. <wsdl:part element="x1:sayHi" name="in"/>
  85. </wsdl:message>
  86. <wsdl:message name="sayHiResponse">
  87. <wsdl:part element="x1:sayHiResponse" name="out"/>
  88. </wsdl:message>
  89. <wsdl:message name="greetMeRequest">
  90. <wsdl:part element="x1:greetMe" name="in"/>
  91. </wsdl:message>
  92. <wsdl:message name="greetMeResponse">
  93. <wsdl:part element="x1:greetMeResponse" name="out"/>
  94. </wsdl:message>
  95. <wsdl:message name="greetMeOneWayRequest">
  96. <wsdl:part element="x1:greetMeOneWay" name="in"/>
  97. </wsdl:message>
  98. <wsdl:message name="pingMeRequest">
  99. <wsdl:part name="in" element="x1:pingMe"/>
  100. </wsdl:message>
  101. <wsdl:message name="pingMeResponse">
  102. <wsdl:part name="out" element="x1:pingMeResponse"/>
  103. </wsdl:message>
  104. <wsdl:message name="pingMeFault">
  105. <wsdl:part name="faultDetail" element="x1:faultDetail"/>
  106. </wsdl:message>
  107. <wsdl:portType name="Greeter">
  108. <wsdl:operation name="sayHi">
  109. <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
  110. <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
  111. </wsdl:operation>
  112. <wsdl:operation name="greetMe">
  113. <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
  114. <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
  115. </wsdl:operation>
  116. <wsdl:operation name="greetMeOneWay">
  117. <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
  118. </wsdl:operation>
  119. <wsdl:operation name="pingMe">
  120. <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
  121. <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
  122. <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
  123. </wsdl:operation>
  124. </wsdl:portType>
  125. <wsdl:binding name="JMSGreeterPortBinding" type="tns:Greeter">
  126. <soap:binding style="document" transport="http://cxf.apache.org/transports/jms"/>
  127. <wsdl:operation name="sayHi">
  128. <soap:operation soapAction="" style="document"/>
  129. <wsdl:input name="sayHiRequest">
  130. <soap:body use="literal"/>
  131. </wsdl:input>
  132. <wsdl:output name="sayHiResponse">
  133. <soap:body use="literal"/>
  134. </wsdl:output>
  135. </wsdl:operation>
  136. <wsdl:operation name="greetMe">
  137. <soap:operation soapAction="" style="document"/>
  138. <wsdl:input name="greetMeRequest">
  139. <soap:body use="literal"/>
  140. </wsdl:input>
  141. <wsdl:output name="greetMeResponse">
  142. <soap:body use="literal"/>
  143. </wsdl:output>
  144. </wsdl:operation>
  145. <wsdl:operation name="greetMeOneWay">
  146. <soap:operation soapAction="" style="document"/>
  147. <wsdl:input name="greetMeOneWayRequest">
  148. <soap:body use="literal"/>
  149. </wsdl:input>
  150. </wsdl:operation>
  151. <wsdl:operation name="pingMe">
  152. <soap:operation style="document"/>
  153. <wsdl:input>
  154. <soap:body use="literal"/>
  155. </wsdl:input>
  156. <wsdl:output>
  157. <soap:body use="literal"/>
  158. </wsdl:output>
  159. <wsdl:fault name="pingMeFault">
  160. <soap:fault name="pingMeFault" use="literal"/>
  161. </wsdl:fault>
  162. </wsdl:operation>
  163. </wsdl:binding>
  164. <wsdl:service name="JMSGreeterService">
  165. <wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort">
  166. <jms:address
  167. destinationStyle="queue"
  168. jndiConnectionFactoryName="ConnectionFactory"
  169. jndiDestinationName="dynamicQueues/test.cxf.jmstransport.queue">
  170. <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
  171. <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/>
  172. </jms:address>
  173. </wsdl:port>
  174. </wsdl:service>
  175. <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
  176. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  177. <wsdl:operation name="sayHi">
  178. <soap:operation soapAction="" style="document"/>
  179. <wsdl:input name="sayHiRequest">
  180. <soap:body use="literal"/>
  181. </wsdl:input>
  182. <wsdl:output name="sayHiResponse">
  183. <soap:body use="literal"/>
  184. </wsdl:output>
  185. </wsdl:operation>
  186. <wsdl:operation name="greetMe">
  187. <soap:operation soapAction="" style="document"/>
  188. <wsdl:input name="greetMeRequest">
  189. <soap:body use="literal"/>
  190. </wsdl:input>
  191. <wsdl:output name="greetMeResponse">
  192. <soap:body use="literal"/>
  193. </wsdl:output>
  194. </wsdl:operation>
  195. <wsdl:operation name="greetMeOneWay">
  196. <soap:operation soapAction="" style="document"/>
  197. <wsdl:input name="greetMeOneWayRequest">
  198. <soap:body use="literal"/>
  199. </wsdl:input>
  200. </wsdl:operation>
  201. <wsdl:operation name="pingMe">
  202. <soap:operation style="document"/>
  203. <wsdl:input>
  204. <soap:body use="literal"/>
  205. </wsdl:input>
  206. <wsdl:output>
  207. <soap:body use="literal"/>
  208. </wsdl:output>
  209. <wsdl:fault name="pingMeFault">
  210. <soap:fault name="pingMeFault" use="literal"/>
  211. </wsdl:fault>
  212. </wsdl:operation>
  213. </wsdl:binding>
  214. <wsdl:service name="SOAPService">
  215. <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
  216. <soap:address location="http://localhost:9000/SoapContext/SoapPort/"/>
  217. <!--soap:address location="http://localhost:9001/"/-->
  218. </wsdl:port>
  219. </wsdl:service>
  220. </wsdl:definitions>