wsdl_documentation.wsdl 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0"?>
  2. <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://framework.zend.com/my_script.php" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="Zend_Soap_Server_TestClass" targetNamespace="http://framework.zend.com/my_script.php" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:documentation>Definitions</wsdl:documentation>
  4. <portType name="Zend_Soap_Server_TestClassPort">
  5. <wsdl:documentation>Ports</wsdl:documentation>
  6. <operation name="testFunc1">
  7. <input message="tns:testFunc1Request"/>
  8. <output message="tns:testFunc1Response"/>
  9. </operation>
  10. <operation name="testFunc2">
  11. <input message="tns:testFunc2Request"/>
  12. <output message="tns:testFunc2Response"/>
  13. </operation>
  14. <operation name="testFunc3">
  15. <input message="tns:testFunc3Request"/>
  16. <output message="tns:testFunc3Response"/>
  17. </operation>
  18. <operation name="testFunc4">
  19. <input message="tns:testFunc4Request"/>
  20. <output message="tns:testFunc4Response"/>
  21. </operation>
  22. </portType>
  23. <binding name="Zend_Soap_Server_TestClassBinding" type="tns:Zend_Soap_Server_TestClassPort">
  24. <wsdl:documentation>Bindings</wsdl:documentation>
  25. <soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc4"/>
  26. <soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc3"/>
  27. <soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc2"/>
  28. <soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc1"/>
  29. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  30. <operation name="testFunc1">
  31. <wsdl:documentation>Operation1</wsdl:documentation>
  32. <input>
  33. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  34. </input>
  35. <output>
  36. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  37. </output>
  38. </operation>
  39. <operation name="testFunc2">
  40. <wsdl:documentation>Operation2</wsdl:documentation>
  41. <input>
  42. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  43. </input>
  44. <output>
  45. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  46. </output>
  47. </operation>
  48. <operation name="testFunc3">
  49. <wsdl:documentation>Operation3</wsdl:documentation>
  50. <input>
  51. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  52. </input>
  53. <output>
  54. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  55. </output>
  56. </operation>
  57. <operation name="testFunc4">
  58. <wsdl:documentation>Operation4</wsdl:documentation>
  59. <input>
  60. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  61. </input>
  62. <output>
  63. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  64. </output>
  65. </operation>
  66. </binding>
  67. <service name="Zend_Soap_Server_TestClassService">
  68. <wsdl:documentation>Services</wsdl:documentation>
  69. <port name="Zend_Soap_Server_TestClassPort" binding="tns:Zend_Soap_Server_TestClassBinding">
  70. <soap:address location="http://framework.zend.com/my_script.php"/>
  71. </port>
  72. </service>
  73. <message name="testFunc1Request"/>
  74. <message name="testFunc1Response">
  75. <wsdl:documentation>Message</wsdl:documentation>
  76. <part name="testFunc1Return" type="xsd:string"/>
  77. </message>
  78. <message name="testFunc2Request">
  79. <wsdl:documentation>Message</wsdl:documentation>
  80. <part name="who" type="xsd:string"/>
  81. </message>
  82. <message name="testFunc2Response">
  83. <wsdl:documentation>Message</wsdl:documentation>
  84. <part name="testFunc2Return" type="xsd:string"/>
  85. </message>
  86. <message name="testFunc3Request">
  87. <wsdl:documentation>Message</wsdl:documentation>
  88. <part name="who" type="xsd:string"/>
  89. <part name="when" type="xsd:int"/>
  90. </message>
  91. <message name="testFunc3Response">
  92. <wsdl:documentation>Message</wsdl:documentation>
  93. <part name="testFunc3Return" type="xsd:string"/>
  94. </message>
  95. <message name="testFunc4Request"/>
  96. <message name="testFunc4Response">
  97. <wsdl:documentation>Message</wsdl:documentation>
  98. <part name="testFunc4Return" type="xsd:string"/>
  99. </message>
  100. </definitions>