Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. <definitions name = "HelloService"
  2. targetNamespace = "http://www.examples.com/wsdl/HelloService.wsdl"
  3. xmlns = "http://schemas.xmlsoap.org/wsdl/"
  4. xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"
  5. xmlns:tns = "http://www.examples.com/wsdl/HelloService.wsdl"
  6. xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
  7.  
  8. <message name = "SayHelloRequest">
  9. <part name = "firstName" type = "xsd:string"/>
  10. </message>
  11.  
  12. <message name = "SayHelloResponse">
  13. <part name = "greeting" type = "xsd:string"/>
  14. </message>
  15.  
  16. <portType name = "Hello_PortType">
  17. <operation name = "sayHello">
  18. <input message = "tns:SayHelloRequest"/>
  19. <output message = "tns:SayHelloResponse"/>
  20. </operation>
  21. </portType>
  22.  
  23. <binding name = "Hello_Binding" type = "tns:Hello_PortType">
  24. <soap:binding style = "rpc"
  25. transport = "http://schemas.xmlsoap.org/soap/http"/>
  26. <operation name = "sayHello">
  27. <soap:operation soapAction = "sayHello"/>
  28. <input>
  29. <soap:body
  30. encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
  31. namespace = "urn:examples:helloservice"
  32. use = "encoded"/>
  33. </input>
  34.  
  35. <output>
  36. <soap:body
  37. encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
  38. namespace = "urn:examples:helloservice"
  39. use = "encoded"/>
  40. </output>
  41. </operation>
  42. </binding>
  43.  
  44. <service name = "Hello_Service">
  45. <documentation>WSDL File for HelloService</documentation>
  46. <port binding = "tns:Hello_Binding" name = "Hello_Port">
  47. <soap:address
  48. location = "http://www.examples.com/SayHello/" />
  49. </port>
  50. </service>
  51. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement