/wsdl_repositories/xmethods/zipdistance.wsdl

https://github.com/kiouftis/Web-Services-Indexing-In-P2P · Web Services Description Language · 130 lines · 130 code · 0 blank · 0 comment · 0 complexity · 305fd5323aaf24bd316e4a611bec26a7 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.strikeiron.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" targetNamespace="http://www.strikeiron.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:types>
  4. <s:schema elementFormDefault="qualified" targetNamespace="http://www.strikeiron.com">
  5. <s:element name="GetCityDistance">
  6. <s:complexType>
  7. <s:sequence>
  8. <s:element minOccurs="0" maxOccurs="1" name="ZipCode1" type="s:string" />
  9. <s:element minOccurs="0" maxOccurs="1" name="ZipCode2" type="s:string" />
  10. </s:sequence>
  11. </s:complexType>
  12. </s:element>
  13. <s:element name="GetCityDistanceResponse">
  14. <s:complexType>
  15. <s:sequence>
  16. <s:element minOccurs="0" maxOccurs="1" name="GetCityDistanceResult" type="tns:QueryResult" />
  17. </s:sequence>
  18. </s:complexType>
  19. </s:element>
  20. <s:complexType name="QueryResult">
  21. <s:sequence>
  22. <s:element minOccurs="0" maxOccurs="1" name="CityName1" type="s:string" />
  23. <s:element minOccurs="0" maxOccurs="1" name="CityName2" type="s:string" />
  24. <s:element minOccurs="1" maxOccurs="1" name="Distance" type="s:double" />
  25. </s:sequence>
  26. </s:complexType>
  27. <s:element name="ResponseInfo" type="tns:ResponseInfo" />
  28. <s:complexType name="ResponseInfo">
  29. <s:sequence>
  30. <s:element minOccurs="1" maxOccurs="1" name="ResponseCode" type="s:int" />
  31. <s:element minOccurs="0" maxOccurs="1" name="Response" type="s:string" />
  32. </s:sequence>
  33. </s:complexType>
  34. </s:schema>
  35. <xs:schema xmlns:tns1="http://ws.strikeiron.com" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.strikeiron.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  36. <xs:element name="LicenseInfo" type="tns1:LicenseInfo" />
  37. <xs:complexType name="LicenseInfo">
  38. <xs:sequence>
  39. <xs:element minOccurs="0" name="RegisteredUser" type="tns1:RegisteredUser" />
  40. </xs:sequence>
  41. </xs:complexType>
  42. <xs:complexType name="RegisteredUser">
  43. <xs:sequence>
  44. <xs:element minOccurs="0" name="UserID" type="xs:string" />
  45. <xs:element minOccurs="0" name="Password" type="xs:string" />
  46. </xs:sequence>
  47. </xs:complexType>
  48. <xs:element name="SubscriptionInfo" type="tns1:SubscriptionInfo" />
  49. <xs:complexType name="SubscriptionInfo">
  50. <xs:sequence>
  51. <xs:element name="LicenseStatusCode" type="xs:int" />
  52. <xs:element minOccurs="0" name="LicenseStatus" type="xs:string" />
  53. <xs:element name="LicenseActionCode" type="xs:int" />
  54. <xs:element minOccurs="0" name="LicenseAction" type="xs:string" />
  55. <xs:element name="RemainingHits" type="xs:int" />
  56. <xs:element name="Amount" type="xs:decimal" />
  57. </xs:sequence>
  58. </xs:complexType>
  59. <xs:element name="GetRemainingHits">
  60. <xs:complexType />
  61. </xs:element>
  62. <xs:element name="GetRemainingHitsResponse">
  63. <xs:complexType />
  64. </xs:element>
  65. </xs:schema>
  66. </wsdl:types>
  67. <wsdl:message name="GetCityDistanceSoapIn">
  68. <wsdl:part name="parameters" element="tns:GetCityDistance" />
  69. </wsdl:message>
  70. <wsdl:message name="GetCityDistanceSoapOut">
  71. <wsdl:part name="parameters" element="tns:GetCityDistanceResponse" />
  72. </wsdl:message>
  73. <wsdl:message name="GetCityDistanceResponseInfo">
  74. <wsdl:part name="ResponseInfo" element="tns:ResponseInfo" />
  75. </wsdl:message>
  76. <wsdl:message name="GetRemainingHitsSoapIn">
  77. <wsdl:part name="parameters" xmlns:q1="http://ws.strikeiron.com" element="q1:GetRemainingHits" />
  78. </wsdl:message>
  79. <wsdl:message name="GetRemainingHitsSoapOut">
  80. <wsdl:part name="parameters" xmlns:q2="http://ws.strikeiron.com" element="q2:GetRemainingHitsResponse" />
  81. </wsdl:message>
  82. <wsdl:message name="LicenseInfoMessage">
  83. <wsdl:part name="LicenseInfo" xmlns:q3="http://ws.strikeiron.com" element="q3:LicenseInfo" />
  84. </wsdl:message>
  85. <wsdl:message name="SubscriptionInfoMessage">
  86. <wsdl:part name="SubscriptionInfo" xmlns:q4="http://ws.strikeiron.com" element="q4:SubscriptionInfo" />
  87. </wsdl:message>
  88. <wsdl:portType name="zipdistanceSoap">
  89. <wsdl:operation name="GetCityDistance">
  90. <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get the city and state information from a given zip code</documentation>
  91. <wsdl:input message="tns:GetCityDistanceSoapIn" />
  92. <wsdl:output message="tns:GetCityDistanceSoapOut" />
  93. </wsdl:operation>
  94. <wsdl:operation name="GetRemainingHits">
  95. <wsdl:input message="tns:GetRemainingHitsSoapIn" />
  96. <wsdl:output message="tns:GetRemainingHitsSoapOut" />
  97. </wsdl:operation>
  98. </wsdl:portType>
  99. <wsdl:binding name="zipdistanceSoap" type="tns:zipdistanceSoap">
  100. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  101. <wsdl:operation name="GetCityDistance">
  102. <soap:operation soapAction="http://www.strikeiron.com/GetCityDistance" style="document" />
  103. <wsdl:input>
  104. <soap:body use="literal" />
  105. <soap:header message="tns:LicenseInfoMessage" part="LicenseInfo" use="literal" />
  106. </wsdl:input>
  107. <wsdl:output>
  108. <soap:body use="literal" />
  109. <soap:header message="tns:GetCityDistanceResponseInfo" part="ResponseInfo" use="literal" />
  110. <soap:header message="tns:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" />
  111. </wsdl:output>
  112. </wsdl:operation>
  113. <wsdl:operation name="GetRemainingHits">
  114. <soap:operation soapAction="http://ws.strikeiron.com/StrikeIron/zipdistance/GetRemainingHits" />
  115. <wsdl:input>
  116. <soap:body use="literal" />
  117. <soap:header message="tns:LicenseInfoMessage" part="LicenseInfo" use="literal" />
  118. </wsdl:input>
  119. <wsdl:output>
  120. <soap:body use="literal" />
  121. <soap:header message="tns:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" />
  122. </wsdl:output>
  123. </wsdl:operation>
  124. </wsdl:binding>
  125. <wsdl:service name="zipdistance">
  126. <wsdl:port name="zipdistanceSoap" binding="tns:zipdistanceSoap">
  127. <soap:address location="http://ws.strikeiron.com/StrikeIron/zipdistance" />
  128. </wsdl:port>
  129. </wsdl:service>
  130. </wsdl:definitions>