bug41004.wsdl 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  3. xmlns:tns="urn:Formation" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Formation"
  5. targetNamespace="urn:Formation">
  6. <wsdl:types>
  7. <xsd:schema targetNamespace="urn:Formation">
  8. <xsd:element name="echo">
  9. <xsd:complexType>
  10. <xsd:sequence>
  11. <xsd:element name="in" type="tns:EchoBean"></xsd:element>
  12. </xsd:sequence>
  13. </xsd:complexType>
  14. </xsd:element>
  15. <xsd:element name="echoResponse">
  16. <xsd:complexType>
  17. <xsd:sequence>
  18. <xsd:element name="out" type="tns:EchoBean"></xsd:element>
  19. </xsd:sequence>
  20. </xsd:complexType>
  21. </xsd:element>
  22. <xsd:simpleType name="Product1Type">
  23. <xsd:restriction base="xsd:string">
  24. <xsd:enumeration value="REV"></xsd:enumeration>
  25. <xsd:enumeration value="CLA"></xsd:enumeration>
  26. </xsd:restriction>
  27. </xsd:simpleType>
  28. <xsd:complexType name="EchoBean">
  29. <xsd:sequence>
  30. <xsd:element name="mandatoryElement"
  31. type="tns:Product1Type">
  32. </xsd:element>
  33. <xsd:element name="optionalElement"
  34. type="tns:Product1Type" maxOccurs="1" minOccurs="0">
  35. </xsd:element>
  36. </xsd:sequence>
  37. </xsd:complexType>
  38. </xsd:schema>
  39. </wsdl:types>
  40. <wsdl:message name="echoRequest">
  41. <wsdl:part name="parameters" element="tns:echo"></wsdl:part>
  42. </wsdl:message>
  43. <wsdl:message name="echoResponse">
  44. <wsdl:part name="parameters" element="tns:echoResponse"></wsdl:part>
  45. </wsdl:message>
  46. <wsdl:portType name="Formation">
  47. <wsdl:operation name="echo">
  48. <wsdl:input message="tns:echoRequest"></wsdl:input>
  49. <wsdl:output message="tns:echoResponse"></wsdl:output>
  50. </wsdl:operation>
  51. </wsdl:portType>
  52. <wsdl:binding name="FormationServiceV1" type="tns:Formation">
  53. <soap:binding style="document"
  54. transport="http://schemas.xmlsoap.org/soap/http" />
  55. <wsdl:operation name="echo">
  56. <soap:operation soapAction="urn:Formation/echo" />
  57. <wsdl:input>
  58. <soap:body use="literal" />
  59. </wsdl:input>
  60. <wsdl:output>
  61. <soap:body use="literal" />
  62. </wsdl:output>
  63. </wsdl:operation>
  64. </wsdl:binding>
  65. <wsdl:service name="Formation">
  66. <wsdl:port binding="tns:FormationServiceV1"
  67. name="FormationSOAP">
  68. <soap:address
  69. location="http://localhost:8080/webapp/services/FormationServiceV1" />
  70. </wsdl:port>
  71. </wsdl:service>
  72. </wsdl:definitions>