Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <wsdl:definitions
  3. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"
  5. xmlns:tns="http://example.org/hr/service"
  6. xmlns:schema="http://www.example.org/HolidaySchema"
  7. targetNamespace="http://example.org/hr/service">
  8.  
  9. <wsdl:types xmlns:xs="http://www.w3.org/2001/XMLSchema">
  10. <xs:schema>
  11. <xs:import schemaLocation="../xsd/HolidaySchema.xsd"
  12. namespace="http://www.example.org/HolidaySchema"></xs:import>
  13. </xs:schema>
  14. </wsdl:types>
  15.  
  16. <wsdl:message name="HolidayRequest">
  17. <wsdl:part name="HolidayRequest" element="schema:HolidayRequest" />
  18. </wsdl:message>
  19.  
  20. <wsdl:message name="HolidayResponse">
  21. <wsdl:part name="HolidayResponse" element="schema:HolidayResponse" />
  22. </wsdl:message>
  23.  
  24. <wsdl:portType name="HR">
  25. <wsdl:operation name="Holiday">
  26. <wsdl:input message="tns:HolidayRequest" name="HolidayRequest" />
  27. <wsdl:output message="tns:HolidayResponse" name="HolidayResponse" />
  28. </wsdl:operation>
  29.  
  30. </wsdl:portType>
  31.  
  32.  
  33. <wsdl:binding name="HRBinding" type="tns:HR">
  34. <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
  35. style="document" />
  36. <wsdl:operation name="Holiday">
  37. <soap:operation soapAction=""
  38. <wsdl:input message="tns:HolidayRequest" name="HolidayRequest" />
  39. <wsdl:output message="tns:HolidayResponse" name="HolidayResponse" />
  40. </wsdl:operation>
  41.  
  42. </wsdl:binding>
  43.  
  44. <wsdl:service name="HRService">
  45. <wsdl:port name="HR" binding="tns:HRBinding">
  46. <soap:address location="http://localhost:8082"/>
  47. </wsdl:port>
  48. </wsdl:service>
  49.  
  50. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement