GeneralWebService.wsdl 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.pft.webserviceintf" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="GeneralWebService" targetNamespace="http://com.pft.webserviceintf" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:types>
  4. <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://com.pft.webserviceintf" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  5. <xs:element name="batchcall" type="tns:batchcall" />
  6. <xs:element name="batchcallResponse" type="tns:batchcallResponse" />
  7. <xs:element name="call" type="tns:call" />
  8. <xs:element name="callResponse" type="tns:callResponse" />
  9. <xs:complexType name="call">
  10. <xs:sequence>
  11. <xs:element minOccurs="0" name="servicename" type="xs:string" />
  12. <xs:element minOccurs="0" maxOccurs="unbounded" name="params" type="xs:string" />
  13. </xs:sequence>
  14. </xs:complexType>
  15. <xs:complexType name="callResponse">
  16. <xs:sequence>
  17. <xs:element minOccurs="0" name="return" type="xs:string" />
  18. </xs:sequence>
  19. </xs:complexType>
  20. <xs:complexType name="generalWebServiceFaultBean">
  21. <xs:sequence>
  22. <xs:element minOccurs="0" name="code" type="xs:string" />
  23. <xs:element minOccurs="0" name="message" type="xs:string" />
  24. </xs:sequence>
  25. </xs:complexType>
  26. <xs:complexType name="batchcall">
  27. <xs:sequence>
  28. <xs:element minOccurs="0" name="servicename" type="xs:string" />
  29. <xs:element minOccurs="0" name="batchdata" type="xs:string" />
  30. <xs:element minOccurs="0" maxOccurs="unbounded" name="params" type="xs:string" />
  31. </xs:sequence>
  32. </xs:complexType>
  33. <xs:complexType name="batchcallResponse">
  34. <xs:sequence>
  35. <xs:element minOccurs="0" name="return" type="xs:string" />
  36. </xs:sequence>
  37. </xs:complexType>
  38. <xs:element name="GeneralWebServiceFault" nillable="true" type="tns:generalWebServiceFaultBean" />
  39. </xs:schema>
  40. </wsdl:types>
  41. <wsdl:message name="call">
  42. <wsdl:part name="parameters" element="tns:call" />
  43. </wsdl:message>
  44. <wsdl:message name="batchcall">
  45. <wsdl:part name="parameters" element="tns:batchcall" />
  46. </wsdl:message>
  47. <wsdl:message name="callResponse">
  48. <wsdl:part name="parameters" element="tns:callResponse" />
  49. </wsdl:message>
  50. <wsdl:message name="batchcallResponse">
  51. <wsdl:part name="parameters" element="tns:batchcallResponse" />
  52. </wsdl:message>
  53. <wsdl:message name="GeneralWebServiceFault">
  54. <wsdl:part name="GeneralWebServiceFault" element="tns:GeneralWebServiceFault" />
  55. </wsdl:message>
  56. <wsdl:portType name="GeneralWebService">
  57. <wsdl:operation name="call">
  58. <wsdl:input name="call" message="tns:call" />
  59. <wsdl:output name="callResponse" message="tns:callResponse" />
  60. <wsdl:fault name="GeneralWebServiceFault" message="tns:GeneralWebServiceFault" />
  61. </wsdl:operation>
  62. <wsdl:operation name="batchcall">
  63. <wsdl:input name="batchcall" message="tns:batchcall" />
  64. <wsdl:output name="batchcallResponse" message="tns:batchcallResponse" />
  65. <wsdl:fault name="GeneralWebServiceFault" message="tns:GeneralWebServiceFault" />
  66. </wsdl:operation>
  67. </wsdl:portType>
  68. <wsdl:binding name="GeneralWebServiceSoapBinding" type="tns:GeneralWebService">
  69. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  70. <wsdl:operation name="call">
  71. <soap:operation soapAction="" style="document" />
  72. <wsdl:input name="call">
  73. <soap:body use="literal" />
  74. </wsdl:input>
  75. <wsdl:output name="callResponse">
  76. <soap:body use="literal" />
  77. </wsdl:output>
  78. <wsdl:fault name="GeneralWebServiceFault">
  79. <soap:fault use="literal" name="GeneralWebServiceFault" namespace="" />
  80. </wsdl:fault>
  81. </wsdl:operation>
  82. <wsdl:operation name="batchcall">
  83. <soap:operation soapAction="" style="document" />
  84. <wsdl:input name="batchcall">
  85. <soap:body use="literal" />
  86. </wsdl:input>
  87. <wsdl:output name="batchcallResponse">
  88. <soap:body use="literal" />
  89. </wsdl:output>
  90. <wsdl:fault name="GeneralWebServiceFault">
  91. <soap:fault use="literal" name="GeneralWebServiceFault" namespace="" />
  92. </wsdl:fault>
  93. </wsdl:operation>
  94. </wsdl:binding>
  95. <wsdl:service name="GeneralWebService">
  96. <wsdl:port name="GeneralWebServicePort" binding="tns:GeneralWebServiceSoapBinding">
  97. <soap:address location="http://192.168.0.48:8088/webservice4o3mis/ws/general" />
  98. </wsdl:port>
  99. </wsdl:service>
  100. </wsdl:definitions>