bug36908.wsdl 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0"?>
  2. <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  4. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  5. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  6. xmlns:api="http://soap.dev/soap/PublisherService"
  7. xmlns:types="http://soap.dev/soap/types"
  8. targetNamespace="http://soap.dev/soap/PublisherService">
  9. <wsdl:types>
  10. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  11. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  12. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  13. xmlns:types="http://soap.dev/soap/types"
  14. targetNamespace="http://soap.dev/soap/types">
  15. <xsd:complexType name="publisher">
  16. <xsd:all>
  17. <xsd:element name="region_id" type="xsd:long" default="52"/>
  18. </xsd:all>
  19. </xsd:complexType>
  20. </xsd:schema>
  21. </wsdl:types>
  22. <wsdl:message name="addInput">
  23. <wsdl:part name="publisher" type="types:publisher"/>
  24. </wsdl:message>
  25. <wsdl:message name="addOutput">
  26. <wsdl:part name="out" type="xsd:string"/>
  27. </wsdl:message>
  28. <wsdl:portType name="PublisherServicePortType">
  29. <wsdl:operation name="add">
  30. <wsdl:input message="api:addInput"/>
  31. <wsdl:output message="api:addOutput"/>
  32. </wsdl:operation>
  33. </wsdl:portType>
  34. <wsdl:binding name="PublisherServiceBinding" type="api:PublisherServicePortType">
  35. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  36. <wsdl:operation name="add">
  37. <soap:operation soapAction="urn:PublisherService#add" style="rpc"/>
  38. <wsdl:input>
  39. <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  40. </wsdl:input>
  41. <wsdl:output>
  42. <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  43. </wsdl:output>
  44. </wsdl:operation>
  45. </wsdl:binding>
  46. <wsdl:service name="PublisherService">
  47. <wsdl:port name="PublisherServicePort" binding="api:PublisherServiceBinding">
  48. <soap:address location="http://soap.dev/soap//publisher_test.php"/>
  49. </wsdl:port>
  50. </wsdl:service>
  51. </wsdl:definitions>