Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:tns="http://www.example.com/" targetNamespace="http://www.example.com/">
  3. <wsdl:types>
  4. <s:schema elementFormDefault="qualified" targetNamespace="http://www.example.com/">
  5. <s:element name="requestToken">
  6. <s:complexType>
  7. <s:sequence>
  8. <s:element minOccurs="0" maxOccurs="1" name="APIusername" type="s:string" />
  9. <s:element minOccurs="0" maxOccurs="1" name="APIPassword" type="s:string" />
  10. <s:element minOccurs="0" maxOccurs="1" name="transID" type="s:string" />
  11. <s:element minOccurs="0" maxOccurs="1" name="amount" type="s:string" />
  12. <s:element minOccurs="0" maxOccurs="1" name="referenceField" type="s:string" />
  13. <s:element minOccurs="0" maxOccurs="1" name="MSISDN" type="s:string" />
  14. </s:sequence>
  15. </s:complexType>
  16. </s:element>
  17. <s:element name="requestTokenResponse">
  18. <s:complexType>
  19. <s:sequence>
  20. <s:element minOccurs="0" maxOccurs="1" name="requestTokenResult" type="tns:Response" />
  21. </s:sequence>
  22. </s:complexType>
  23. </s:element>
  24. <s:complexType name="Response">
  25. <s:sequence>
  26. <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
  27. <s:element minOccurs="0" maxOccurs="1" name="TransID" type="s:string" />
  28. <s:element minOccurs="0" maxOccurs="1" name="Amount" type="s:string" />
  29. <s:element minOccurs="0" maxOccurs="1" name="ReferenceField" type="s:string" />
  30. <s:element minOccurs="0" maxOccurs="1" name="MSISDN" type="s:string" />
  31. <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
  32. </s:sequence>
  33. </s:complexType>
  34. </s:schema>
  35. </wsdl:types>
  36. <wsdl:message name="requestTokenSoapIn">
  37. <wsdl:part name="parameters" element="tns:requestToken" />
  38. </wsdl:message>
  39. <wsdl:message name="requestTokenSoapOut">
  40. <wsdl:part name="parameters" element="tns:requestTokenResponse" />
  41. </wsdl:message>
  42. <wsdl:portType name="exampleServiceSoap">
  43. <wsdl:operation name="requestToken">
  44. <wsdl:input message="tns:requestTokenSoapIn" />
  45. <wsdl:output message="tns:requestTokenSoapOut" />
  46. </wsdl:operation>
  47. </wsdl:portType>
  48. <wsdl:binding name="exampleServiceSoap" type="tns:exampleServiceSoap">
  49. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  50. <wsdl:operation name="requestToken">
  51. <soap:operation soapAction="http://www.example.com/requestToken" style="document" />
  52. <wsdl:input>
  53. <soap:body use="literal" />
  54. </wsdl:input>
  55. <wsdl:output>
  56. <soap:body use="literal" />
  57. </wsdl:output>
  58. </wsdl:operation>
  59. </wsdl:binding>
  60. <wsdl:binding name="exampleServiceSoap12" type="tns:exampleServiceSoap">
  61. <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
  62. <wsdl:operation name="requestToken">
  63. <soap12:operation soapAction="http://www.example.com/requestToken" style="document" />
  64. <wsdl:input>
  65. <soap12:body use="literal" />
  66. </wsdl:input>
  67. <wsdl:output>
  68. <soap12:body use="literal" />
  69. </wsdl:output>
  70. </wsdl:operation>
  71. </wsdl:binding>
  72. <wsdl:service name="exampleService">
  73. <wsdl:port name="exampleServiceSoap" binding="tns:exampleServiceSoap">
  74. <soap:address location="http://10.10.124.182:5480/exampleService.asmx" />
  75. </wsdl:port>
  76. <wsdl:port name="exampleServiceSoap12" binding="tns:exampleServiceSoap12">
  77. <soap12:address location="http://10.10.124.182:5480/exampleService.asmx" />
  78. </wsdl:port>
  79. </wsdl:service>
  80. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement