bug29109.wsdl 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="windows-1257"?>
  2. <definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
  3. xmlns:s0="http://tempuri.org/"
  4. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  5. xmlns:s="http://www.w3.org/2001/XMLSchema"
  6. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  7. xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
  8. xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" name="test"
  9. targetNamespace="http://tempuri.org/"
  10. xmlns="http://schemas.xmlsoap.org/wsdl/">
  11. <types>
  12. <xs:schema elementFormDefault="qualified"
  13. targetNamespace="http://tempuri.org/"
  14. xmlns:xs="http://www.w3.org/2001/XMLSchema">
  15. <xs:element name="HelloWorld">
  16. <xs:complexType />
  17. </xs:element>
  18. <xs:element name="HelloWorldResponse">
  19. <xs:complexType>
  20. <xs:sequence>
  21. <xs:element minOccurs="0" maxOccurs="1"
  22. name="HelloWorldResult" type="xs:string" />
  23. </xs:sequence>
  24. </xs:complexType>
  25. </xs:element>
  26. <xs:element name="string" type="xs:string" />
  27. </xs:schema>
  28. </types>
  29. <message name="HelloWorldSoapIn">
  30. <part name="parameters" element="s0:HelloWorld" />
  31. </message>
  32. <message name="HelloWorldSoapOut">
  33. <part name="parameters" element="s0:HelloWorldResponse" />
  34. </message>
  35. <message name="HelloWorldHttpGetIn" />
  36. <message name="HelloWorldHttpGetOut">
  37. <part name="Body" element="s0:string" />
  38. </message>
  39. <message name="HelloWorldHttpPostIn" />
  40. <message name="HelloWorldHttpPostOut">
  41. <part name="Body" element="s0:string" />
  42. </message>
  43. <portType name="testSoap">
  44. <operation name="HelloWorld">
  45. <input message="s0:HelloWorldSoapIn" />
  46. <output message="s0:HelloWorldSoapOut" />
  47. </operation>
  48. </portType>
  49. <portType name="testHttpGet">
  50. <operation name="HelloWorld">
  51. <input message="s0:HelloWorldHttpGetIn" />
  52. <output message="s0:HelloWorldHttpGetOut" />
  53. </operation>
  54. </portType>
  55. <portType name="testHttpPost">
  56. <operation name="HelloWorld">
  57. <input message="s0:HelloWorldHttpPostIn" />
  58. <output message="s0:HelloWorldHttpPostOut" />
  59. </operation>
  60. </portType>
  61. <binding name="testSoap" type="s0:testSoap">
  62. <soap:binding style="document"
  63. transport="http://schemas.xmlsoap.org/soap/http" />
  64. <operation name="HelloWorld">
  65. <soap:operation soapAction="http://tempuri.org/HelloWorld"
  66. style="document" />
  67. <input>
  68. <soap:body use="literal" />
  69. </input>
  70. <output>
  71. <soap:body use="literal" />
  72. </output>
  73. </operation>
  74. </binding>
  75. <binding name="testHttpGet" type="s0:testHttpGet">
  76. <http:binding verb="GET" />
  77. <operation name="HelloWorld">
  78. <http:operation location="/HelloWorld" />
  79. <input>
  80. <http:urlEncoded />
  81. </input>
  82. <output>
  83. <mime:mimeXml part="Body" />
  84. </output>
  85. </operation>
  86. </binding>
  87. <binding name="testHttpPost" type="s0:testHttpPost">
  88. <http:binding verb="POST" />
  89. <operation name="HelloWorld">
  90. <http:operation location="/HelloWorld" />
  91. <input>
  92. <mime:content part="" type="application/x-www-form-urlencoded"
  93. />
  94. </input>
  95. <output>
  96. <mime:mimeXml part="Body" />
  97. </output>
  98. </operation>
  99. </binding>
  100. <service name="test">
  101. <port name="testSoap" binding="s0:testSoap">
  102. <soap:address location="http://localhost:81/test.asmx" />
  103. </port>
  104. <port name="testHttpGet" binding="s0:testHttpGet">
  105. <http:address location="http://localhost:81/test.asmx" />
  106. </port>
  107. <port name="testHttpPost" binding="s0:testHttpPost">
  108. <http:address location="http://localhost:81/test.asmx" />
  109. </port>
  110. </service>
  111. </definitions>