Guest User

Untitled

a guest
Jun 24th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.57 KB | None | 0 0
  1. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://sample.com/reservation/guest/types" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://sample.com/reservation/guest" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax21="http://exception.reservation.sample.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://sample.com/reservation/guest">
  2. <wsdl:documentation>EmployeeManagementService</wsdl:documentation>
  3. <wsdl:types>
  4. <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.reservation.sample.com/xsd">
  5. <xs:complexType name="EmployeeManagementException">
  6. <xs:sequence>
  7. <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
  8. </xs:sequence>
  9. </xs:complexType>
  10. </xs:schema>
  11. <xs:schema xmlns:ax22="http://exception.reservation.sample.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://sample.com/reservation/guest/types">
  12. <xs:import namespace="http://exception.reservation.sample.com/xsd"/>
  13. <xs:element name="EmployeeManagementServiceEmployeeManagementException">
  14. <xs:complexType>
  15. <xs:sequence>
  16. <xs:element minOccurs="0" name="EmployeeManagementException" nillable="true" type="ax22:EmployeeManagementException"/>
  17. </xs:sequence>
  18. </xs:complexType>
  19. </xs:element>
  20. <xs:element name="addEmployee">
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
  24. <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
  25. <xs:element minOccurs="0" name="Department" nillable="true" type="xs:string"/>
  26. <xs:element minOccurs="0" name="age" type="xs:int"/>
  27. </xs:sequence>
  28. </xs:complexType>
  29. </xs:element>
  30. <xs:element name="addEmployeeResponse">
  31. <xs:complexType>
  32. <xs:sequence>
  33. <xs:element minOccurs="0" name="return" type="xs:boolean"/>
  34. </xs:sequence>
  35. </xs:complexType>
  36. </xs:element>
  37. <xs:element name="deleteEmployee">
  38. <xs:complexType>
  39. <xs:sequence>
  40. <xs:element minOccurs="0" name="employeeName" nillable="true" type="xs:string"/>
  41. </xs:sequence>
  42. </xs:complexType>
  43. </xs:element>
  44. <xs:element name="getEmployeeDetails">
  45. <xs:complexType>
  46. <xs:sequence>
  47. <xs:element minOccurs="0" name="employeeName" nillable="true" type="xs:string"/>
  48. </xs:sequence>
  49. </xs:complexType>
  50. </xs:element>
  51. <xs:element name="getEmployeeDetailsResponse">
  52. <xs:complexType>
  53. <xs:sequence>
  54. <xs:element minOccurs="0" name="return" nillable="true" type="ns:Employee"/>
  55. </xs:sequence>
  56. </xs:complexType>
  57. </xs:element>
  58. <xs:complexType name="Employee">
  59. <xs:sequence>
  60. <xs:element minOccurs="0" name="age" type="xs:int"/>
  61. <xs:element minOccurs="0" name="department" nillable="true" type="xs:string"/>
  62. <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
  63. <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
  64. </xs:sequence>
  65. </xs:complexType>
  66. </xs:schema>
  67. </wsdl:types>
  68. <wsdl:message name="getEmployeeDetailsRequest">
  69. <wsdl:part name="parameters" element="ns:getEmployeeDetails"/>
  70. </wsdl:message>
  71. <wsdl:message name="getEmployeeDetailsResponse">
  72. <wsdl:part name="parameters" element="ns:getEmployeeDetailsResponse"/>
  73. </wsdl:message>
  74. <wsdl:message name="EmployeeManagementServiceEmployeeManagementException">
  75. <wsdl:part name="parameters" element="ns:EmployeeManagementServiceEmployeeManagementException"/>
  76. </wsdl:message>
  77. <wsdl:message name="deleteEmployeeRequest">
  78. <wsdl:part name="parameters" element="ns:deleteEmployee"/>
  79. </wsdl:message>
  80. <wsdl:message name="addEmployeeRequest">
  81. <wsdl:part name="parameters" element="ns:addEmployee"/>
  82. </wsdl:message>
  83. <wsdl:message name="addEmployeeResponse">
  84. <wsdl:part name="parameters" element="ns:addEmployeeResponse"/>
  85. </wsdl:message>
  86. <wsdl:portType name="EmployeeManagementServicePortType">
  87. <wsdl:operation name="getEmployeeDetails">
  88. <wsdl:input message="tns:getEmployeeDetailsRequest" wsaw:Action="urn:getEmployeeDetails"/>
  89. <wsdl:output message="tns:getEmployeeDetailsResponse" wsaw:Action="urn:getEmployeeDetailsResponse"/>
  90. <wsdl:fault message="tns:EmployeeManagementServiceEmployeeManagementException" name="EmployeeManagementServiceEmployeeManagementException" wsaw:Action="urn:getEmployeeDetailsEmployeeManagementServiceEmployeeManagementException"/>
  91. </wsdl:operation>
  92. <wsdl:operation name="deleteEmployee">
  93. <wsdl:input message="tns:deleteEmployeeRequest" wsaw:Action="urn:deleteEmployee"/>
  94. <wsdl:fault message="tns:EmployeeManagementServiceEmployeeManagementException" name="EmployeeManagementServiceEmployeeManagementException" wsaw:Action="urn:deleteEmployeeEmployeeManagementServiceEmployeeManagementException"/>
  95. </wsdl:operation>
  96. <wsdl:operation name="addEmployee">
  97. <wsdl:input message="tns:addEmployeeRequest" wsaw:Action="urn:addEmployee"/>
  98. <wsdl:output message="tns:addEmployeeResponse" wsaw:Action="urn:addEmployeeResponse"/>
  99. <wsdl:fault message="tns:EmployeeManagementServiceEmployeeManagementException" name="EmployeeManagementServiceEmployeeManagementException" wsaw:Action="urn:addEmployeeEmployeeManagementServiceEmployeeManagementException"/>
  100. </wsdl:operation>
  101. </wsdl:portType>
  102. <wsdl:binding name="EmployeeManagementServiceSoap11Binding" type="tns:EmployeeManagementServicePortType">
  103. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  104. <wsdl:operation name="getEmployeeDetails">
  105. <soap:operation soapAction="urn:getEmployeeDetails" style="document"/>
  106. <wsdl:input>
  107. <soap:body use="literal"/>
  108. </wsdl:input>
  109. <wsdl:output>
  110. <soap:body use="literal"/>
  111. </wsdl:output>
  112. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  113. <soap:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  114. </wsdl:fault>
  115. </wsdl:operation>
  116. <wsdl:operation name="deleteEmployee">
  117. <soap:operation soapAction="urn:deleteEmployee" style="document"/>
  118. <wsdl:input>
  119. <soap:body use="literal"/>
  120. </wsdl:input>
  121. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  122. <soap:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  123. </wsdl:fault>
  124. </wsdl:operation>
  125. <wsdl:operation name="addEmployee">
  126. <soap:operation soapAction="urn:addEmployee" style="document"/>
  127. <wsdl:input>
  128. <soap:body use="literal"/>
  129. </wsdl:input>
  130. <wsdl:output>
  131. <soap:body use="literal"/>
  132. </wsdl:output>
  133. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  134. <soap:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  135. </wsdl:fault>
  136. </wsdl:operation>
  137. </wsdl:binding>
  138. <wsdl:binding name="EmployeeManagementServiceSoap12Binding" type="tns:EmployeeManagementServicePortType">
  139. <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  140. <wsdl:operation name="getEmployeeDetails">
  141. <soap12:operation soapAction="urn:getEmployeeDetails" style="document"/>
  142. <wsdl:input>
  143. <soap12:body use="literal"/>
  144. </wsdl:input>
  145. <wsdl:output>
  146. <soap12:body use="literal"/>
  147. </wsdl:output>
  148. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  149. <soap12:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  150. </wsdl:fault>
  151. </wsdl:operation>
  152. <wsdl:operation name="deleteEmployee">
  153. <soap12:operation soapAction="urn:deleteEmployee" style="document"/>
  154. <wsdl:input>
  155. <soap12:body use="literal"/>
  156. </wsdl:input>
  157. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  158. <soap12:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  159. </wsdl:fault>
  160. </wsdl:operation>
  161. <wsdl:operation name="addEmployee">
  162. <soap12:operation soapAction="urn:addEmployee" style="document"/>
  163. <wsdl:input>
  164. <soap12:body use="literal"/>
  165. </wsdl:input>
  166. <wsdl:output>
  167. <soap12:body use="literal"/>
  168. </wsdl:output>
  169. <wsdl:fault name="EmployeeManagementServiceEmployeeManagementException">
  170. <soap12:fault use="literal" name="EmployeeManagementServiceEmployeeManagementException"/>
  171. </wsdl:fault>
  172. </wsdl:operation>
  173. </wsdl:binding>
  174. <wsdl:binding name="EmployeeManagementServiceHttpBinding" type="tns:EmployeeManagementServicePortType">
  175. <http:binding verb="POST"/>
  176. <wsdl:operation name="getEmployeeDetails">
  177. <http:operation location="getEmployeeDetails"/>
  178. <wsdl:input>
  179. <mime:content type="application/xml" part="parameters"/>
  180. </wsdl:input>
  181. <wsdl:output>
  182. <mime:content type="application/xml" part="parameters"/>
  183. </wsdl:output>
  184. </wsdl:operation>
  185. <wsdl:operation name="deleteEmployee">
  186. <http:operation location="deleteEmployee"/>
  187. <wsdl:input>
  188. <mime:content type="application/xml" part="parameters"/>
  189. </wsdl:input>
  190. </wsdl:operation>
  191. <wsdl:operation name="addEmployee">
  192. <http:operation location="addEmployee"/>
  193. <wsdl:input>
  194. <mime:content type="application/xml" part="parameters"/>
  195. </wsdl:input>
  196. <wsdl:output>
  197. <mime:content type="application/xml" part="parameters"/>
  198. </wsdl:output>
  199. </wsdl:operation>
  200. </wsdl:binding>
  201. <wsdl:service name="EmployeeManagementService">
  202. <wsdl:port name="EmployeeManagementServiceHttpSoap11Endpoint" binding="tns:EmployeeManagementServiceSoap11Binding">
  203. <soap:address location="http://localhost:8080/axis2/services/EmployeeManagementService.EmployeeManagementServiceHttpSoap11Endpoint/"/>
  204. </wsdl:port>
  205. <wsdl:port name="EmployeeManagementServiceHttpSoap12Endpoint" binding="tns:EmployeeManagementServiceSoap12Binding">
  206. <soap12:address location="http://localhost:8080/axis2/services/EmployeeManagementService.EmployeeManagementServiceHttpSoap12Endpoint/"/>
  207. </wsdl:port>
  208. <wsdl:port name="EmployeeManagementServiceHttpEndpoint" binding="tns:EmployeeManagementServiceHttpBinding">
  209. <http:address location="http://localhost:8080/axis2/services/EmployeeManagementService.EmployeeManagementServiceHttpEndpoint/"/>
  210. </wsdl:port>
  211. </wsdl:service>
  212. </wsdl:definitions>
Add Comment
Please, Sign In to add comment