bug37013.wsdl 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <definitions name="shoppingcart"
  3. xmlns="http://schemas.xmlsoap.org/wsdl/"
  4. xmlns:tns="urn:test.soapserver#"
  5. targetNamespace="urn:test.soapserver#"
  6. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  7. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  8. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  9. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  10. xmlns:types="urn:test.soapserver.types#">
  11. <!-- all datatypes will be imported to namespace types: -->
  12. <types>
  13. <xs:schema targetNamespace="urn:test.soapserver.types#">
  14. <xs:complexType name="ThingWithParent">
  15. <xs:all>
  16. <xs:element name="id" type="xs:string"/>
  17. <xs:element name="parent" type="types:ThingWithParent"/>
  18. <xs:element name="children" type="types:ArrayOfThingWithParent"/>
  19. </xs:all>
  20. </xs:complexType>
  21. <xs:complexType name="ArrayOfThingWithParent">
  22. <xs:complexContent>
  23. <xs:restriction base="soapenc:Array">
  24. <xs:attribute ref="soapenc:arrayType"
  25. wsdl:arrayType="tns:ThingWithParent[]"/>
  26. </xs:restriction>
  27. </xs:complexContent>
  28. </xs:complexType>
  29. </xs:schema>
  30. </types>
  31. <message name="getThingWithParent-request"/>
  32. <message name="getThingWithParent-response">
  33. <part name="result" element="types:ThingWithParent"/>
  34. </message>
  35. <portType name="soapserver-porttype">
  36. <operation name="getThingWithParent">
  37. <input name="getThingWithParent-request" message="tns:getThingWithParent-request"/>
  38. <output name="getThingWithParent-response" message="tns:getThingWithParent-response"/>
  39. </operation>
  40. </portType>
  41. <binding name="soapserver-binding" type="tns:soapserver-porttype">
  42. <soap:binding style="rpc"
  43. transport="http://schemas.xmlsoap.org/soap/http"/>
  44. <operation name="getThingWithParent">
  45. <soap:operation soapAction="urn:test.soapserver.SoapServer#getThingWithParent"/>
  46. <input>
  47. <soap:body use="encoded"
  48. namespace="urn:test.soapserver#"
  49. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  50. </input>
  51. <output>
  52. <soap:body use="encoded"
  53. namespace="urn:test.soapserver#"
  54. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  55. </output>
  56. </operation>
  57. </binding>
  58. <service name="soapserver">
  59. <!-- @binding doesn't like to be tns: -->
  60. <port name="soapserver-port" binding="tns:soapserver-binding">
  61. <soap:address location="xxxxxxxxxxxx"/>
  62. </port>
  63. </service>
  64. </definitions>