test.wsdl 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" ?>
  2. <definitions
  3. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6. xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  7. xmlns:si="http://soapinterop.org/xsd"
  8. xmlns:tns="http://linuxsrv.home/~dmitry/soap/test.wsdl"
  9. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  10. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  11. xmlns="http://schemas.xmlsoap.org/wsdl/"
  12. targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
  13. <types>
  14. <xsd:schema targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
  15. <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
  16. <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
  17. </xsd:schema>
  18. </types>
  19. <message name="AddRequest">
  20. <part name="x" type="xsd:double" />
  21. <part name="y" type="xsd:double" />
  22. </message>
  23. <message name="AddResponse">
  24. <part name="result" type="xsd:double" />
  25. </message>
  26. <portType name="TestServicePortType">
  27. <operation name="Add">
  28. <input message="tns:AddRequest" />
  29. <output message="tns:AddResponse" />
  30. </operation>
  31. </portType>
  32. <binding name="TestServiceBinding" type="tns:TestServicePortType">
  33. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
  34. <operation name="Add">
  35. <soap:operation soapAction="Add" style="rpc" />
  36. <input>
  37. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
  38. </input>
  39. <output>
  40. <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
  41. </output>
  42. </operation>
  43. </binding>
  44. <service name="TestService">
  45. <port name="TestServicePort" binding="tns:TestServiceBinding">
  46. <soap:address location="http://linuxsrv.home/~dmitry/soap/soap_server.php" />
  47. </port>
  48. </service>
  49. </definitions>