bug36575.wsdl 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <definitions name="shoppingcart"
  3. xmlns="http://schemas.xmlsoap.org/wsdl/"
  4. xmlns:tns="urn:test.soap#" targetNamespace="urn:test.soap#"
  5. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  6. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  7. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  8. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  9. xmlns:types="urn:test.soap.types#">
  10. <!-- all datatypes will be imported to namespace types: -->
  11. <types>
  12. <xs:schema
  13. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  14. xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"
  15. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  16. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  17. xmlns:tns="urn:test.soap.types#"
  18. targetNamespace="urn:test.soap.types#">
  19. <xs:complexType name="A1">
  20. <xs:all>
  21. <xs:element name="var1" type="xs:string" nillable="true"/>
  22. </xs:all>
  23. </xs:complexType>
  24. <xs:complexType name="A2">
  25. <xs:complexContent>
  26. <xs:extension base="tns:A1">
  27. <xs:all>
  28. <xs:element name="var2" type="xs:string" nillable="true"/>
  29. </xs:all>
  30. </xs:extension>
  31. </xs:complexContent>
  32. </xs:complexType>
  33. <xs:complexType name="A3">
  34. <xs:complexContent>
  35. <xs:extension base="tns:A2">
  36. <xs:all>
  37. <xs:element name="var3" type="xs:string" nillable="true"/>
  38. </xs:all>
  39. </xs:extension>
  40. </xs:complexContent>
  41. </xs:complexType>
  42. </xs:schema>
  43. </types>
  44. <message name="test-request">
  45. <part name="a1" type="types:A1"/>
  46. </message>
  47. <message name="test-response">
  48. <part name="result" type="types:A2"/>
  49. </message>
  50. <portType name="catalog-porttype">
  51. <operation name="test" parameterOrder="a1">
  52. <input name="test-request" message="tns:test-request"/>
  53. <output name="test-response" message="tns:test-response"/>
  54. </operation>
  55. </portType>
  56. <!-- @type doesn't like tns: -->
  57. <binding name="catalog-binding" type="tns:catalog-porttype">
  58. <soap:binding style="rpc"
  59. transport="http://schemas.xmlsoap.org/soap/http"/>
  60. <operation name="test">
  61. <soap:operation soapAction="urn:test.soap#test"/>
  62. <input>
  63. <soap:body use="encoded" namespace="urn:test.soap#"
  64. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  65. </input>
  66. <output>
  67. <soap:body use="encoded" namespace="urn:test.soap#"
  68. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  69. </output>
  70. </operation>
  71. </binding>
  72. <service name="catalog">
  73. <!-- @binding doesn't like to be tns: -->
  74. <port name="catalog-port" binding="tns:catalog-binding">
  75. <soap:address location="xxxxxxxx"/>
  76. </port>
  77. </service>
  78. </definitions>