Guest User

dataservice wsdl

a guest
Nov 20th, 2013
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.73 KB | None | 0 0
  1. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://ws.wso2.org/dataservice" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://test.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://ws.wso2.org/dataservice">
  2. <wsdl:documentation/>
  3. <wsdl:types>
  4. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://test.org">
  5. <xs:element name="getDetails">
  6. <xs:complexType>
  7. <xs:sequence/>
  8. </xs:complexType>
  9. </xs:element>
  10. <xs:element name="Name" type="ns0:Name"/>
  11. <xs:complexType name="Name">
  12. <xs:sequence>
  13. <xs:element maxOccurs="unbounded" minOccurs="0" name="customer" type="ns0:customer"/>
  14. </xs:sequence>
  15. </xs:complexType>
  16. <xs:complexType name="customer">
  17. <xs:sequence>
  18. <xs:element name="nid" nillable="true" type="xs:string"/>
  19. <xs:element name="name" nillable="true" type="xs:string"/>
  20. </xs:sequence>
  21. </xs:complexType>
  22. </xs:schema>
  23. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.wso2.org/dataservice">
  24. <xs:element name="DataServiceFault" type="xs:string"/>
  25. <xs:element name="REQUEST_STATUS" type="xs:string"/>
  26. <xs:element name="DATA_SERVICE_RESPONSE">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:any minOccurs="0"/>
  30. </xs:sequence>
  31. </xs:complexType>
  32. </xs:element>
  33. </xs:schema>
  34. </wsdl:types>
  35. <wsdl:message name="getDetailsRequest">
  36. <wsdl:part name="parameters" element="ns0:getDetails"/>
  37. </wsdl:message>
  38. <wsdl:message name="getDetailsResponse">
  39. <wsdl:part name="parameters" element="ns0:Name"/>
  40. </wsdl:message>
  41. <wsdl:message name="DataServiceFault">
  42. <wsdl:part name="parameters" element="ns1:DataServiceFault"/>
  43. </wsdl:message>
  44. <wsdl:portType name="testDSPortType">
  45. <wsdl:operation name="getDetails">
  46. <wsdl:documentation/>
  47. <wsdl:input message="ns1:getDetailsRequest" wsaw:Action="urn:getDetails"/>
  48. <wsdl:output message="ns1:getDetailsResponse" wsaw:Action="urn:getDetailsResponse"/>
  49. <wsdl:fault message="ns1:DataServiceFault" name="DataServiceFault" wsaw:Action="urn:getDetailsDataServiceFault"/>
  50. </wsdl:operation>
  51. </wsdl:portType>
  52. <wsdl:binding name="testDSSOAP11Binding" type="ns1:testDSPortType">
  53. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  54. <wsdl:operation name="getDetails">
  55. <soap:operation soapAction="urn:getDetails" style="document"/>
  56. <wsdl:input>
  57. <soap:body use="literal"/>
  58. </wsdl:input>
  59. <wsdl:output>
  60. <soap:body use="literal"/>
  61. </wsdl:output>
  62. <wsdl:fault name="DataServiceFault">
  63. <soap:fault use="literal" name="DataServiceFault"/>
  64. </wsdl:fault>
  65. </wsdl:operation>
  66. </wsdl:binding>
  67. <wsdl:binding name="testDSSOAP12Binding" type="ns1:testDSPortType">
  68. <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  69. <wsdl:operation name="getDetails">
  70. <soap12:operation soapAction="urn:getDetails" style="document"/>
  71. <wsdl:input>
  72. <soap12:body use="literal"/>
  73. </wsdl:input>
  74. <wsdl:output>
  75. <soap12:body use="literal"/>
  76. </wsdl:output>
  77. <wsdl:fault name="DataServiceFault">
  78. <soap12:fault use="literal" name="DataServiceFault"/>
  79. </wsdl:fault>
  80. </wsdl:operation>
  81. </wsdl:binding>
  82. <wsdl:binding name="testDSHttpBinding" type="ns1:testDSPortType">
  83. <http:binding verb="POST"/>
  84. <wsdl:operation name="getDetails">
  85. <http:operation location="getDetails"/>
  86. <wsdl:input>
  87. <mime:content type="text/xml" part="parameters"/>
  88. </wsdl:input>
  89. <wsdl:output>
  90. <mime:content type="text/xml" part="parameters"/>
  91. </wsdl:output>
  92. </wsdl:operation>
  93. </wsdl:binding>
  94. <wsdl:service name="testDS">
  95. <wsdl:port name="SOAP11Endpoint" binding="ns1:testDSSOAP11Binding">
  96. <soap:address location="http://10.10.10.29:9769/services/testDS.SOAP11Endpoint/"/>
  97. </wsdl:port>
  98. <wsdl:port name="SecureSOAP11Endpoint" binding="ns1:testDSSOAP11Binding">
  99. <soap:address location="https://10.10.10.29:9449/services/testDS.SecureSOAP11Endpoint/"/>
  100. </wsdl:port>
  101. <wsdl:port name="SecureSOAP12Endpoint" binding="ns1:testDSSOAP12Binding">
  102. <soap12:address location="https://10.10.10.29:9449/services/testDS.SecureSOAP12Endpoint/"/>
  103. </wsdl:port>
  104. <wsdl:port name="SOAP12Endpoint" binding="ns1:testDSSOAP12Binding">
  105. <soap12:address location="http://10.10.10.29:9769/services/testDS.SOAP12Endpoint/"/>
  106. </wsdl:port>
  107. <wsdl:port name="HTTPEndpoint" binding="ns1:testDSHttpBinding">
  108. <http:address location="http://10.10.10.29:9769/services/testDS.HTTPEndpoint/"/>
  109. </wsdl:port>
  110. <wsdl:port name="SecureHTTPEndpoint" binding="ns1:testDSHttpBinding">
  111. <http:address location="https://10.10.10.29:9449/services/testDS.SecureHTTPEndpoint/"/>
  112. </wsdl:port>
  113. </wsdl:service>
  114. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment