You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

99 lines
5.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://ws.cdyne.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://ws.cdyne.com" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3. <types>
  4. <s:schema elementFormDefault="qualified" targetNamespace="http://ws.cdyne.com">
  5. <s:element name="GetLatLong">
  6. <s:complexType>
  7. <s:sequence>
  8. <s:element minOccurs="0" maxOccurs="1" name="zipcode" type="s:string" />
  9. <s:element minOccurs="0" maxOccurs="1" name="LicenseKey" type="s:string" />
  10. </s:sequence>
  11. </s:complexType>
  12. </s:element>
  13. <s:element name="GetLatLongResponse">
  14. <s:complexType>
  15. <s:sequence>
  16. <s:element minOccurs="1" maxOccurs="1" name="GetLatLongResult" type="s0:LatLongReturn" />
  17. </s:sequence>
  18. </s:complexType>
  19. </s:element>
  20. <s:complexType name="LatLongReturn">
  21. <s:sequence>
  22. <s:element minOccurs="1" maxOccurs="1" name="ServiceError" type="s:boolean" />
  23. <s:element minOccurs="1" maxOccurs="1" name="AddressError" type="s:boolean" />
  24. <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
  25. <s:element minOccurs="0" maxOccurs="1" name="StateAbbrev" type="s:string" />
  26. <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
  27. <s:element minOccurs="0" maxOccurs="1" name="County" type="s:string" />
  28. <s:element minOccurs="1" maxOccurs="1" name="FromLongitude" type="s:decimal" />
  29. <s:element minOccurs="1" maxOccurs="1" name="FromLatitude" type="s:decimal" />
  30. <s:element minOccurs="1" maxOccurs="1" name="ToLongitude" type="s:decimal" />
  31. <s:element minOccurs="1" maxOccurs="1" name="ToLatitude" type="s:decimal" />
  32. <s:element minOccurs="1" maxOccurs="1" name="AvgLongitude" type="s:decimal" />
  33. <s:element minOccurs="1" maxOccurs="1" name="AvgLatitude" type="s:decimal" />
  34. <s:element minOccurs="0" maxOccurs="1" name="CMSA" type="s:string" />
  35. <s:element minOccurs="0" maxOccurs="1" name="PMSA" type="s:string" />
  36. </s:sequence>
  37. </s:complexType>
  38. <s:element name="LatLongReturn" type="s0:LatLongReturn" />
  39. </s:schema>
  40. </types>
  41. <message name="GetLatLongSoapIn">
  42. <part name="parameters" element="s0:GetLatLong" />
  43. </message>
  44. <message name="GetLatLongSoapOut">
  45. <part name="parameters" element="s0:GetLatLongResponse" />
  46. </message>
  47. <message name="GetLatLongHttpGetIn">
  48. <part name="zipcode" type="s:string" />
  49. <part name="LicenseKey" type="s:string" />
  50. </message>
  51. <message name="GetLatLongHttpGetOut">
  52. <part name="Body" element="s0:LatLongReturn" />
  53. </message>
  54. <message name="GetLatLongHttpPostIn">
  55. <part name="zipcode" type="s:string" />
  56. <part name="LicenseKey" type="s:string" />
  57. </message>
  58. <message name="GetLatLongHttpPostOut">
  59. <part name="Body" element="s0:LatLongReturn" />
  60. </message>
  61. <portType name="Zip2GeoSoap">
  62. <operation name="GetLatLong">
  63. <documentation>This method will convert a zip code to Longitude and Latitude. You will get better accuracy with the plus 4 added to the zipcode. Use a license key of 0 for testing.</documentation>
  64. <input message="s0:GetLatLongSoapIn" />
  65. <output message="s0:GetLatLongSoapOut" />
  66. </operation>
  67. </portType>
  68. <portType name="Zip2GeoHttpGet">
  69. <operation name="GetLatLong">
  70. <documentation>This method will convert a zip code to Longitude and Latitude. You will get better accuracy with the plus 4 added to the zipcode. Use a license key of 0 for testing.</documentation>
  71. <input message="s0:GetLatLongHttpGetIn" />
  72. <output message="s0:GetLatLongHttpGetOut" />
  73. </operation>
  74. </portType>
  75. <portType name="Zip2GeoHttpPost">
  76. <operation name="GetLatLong">
  77. <documentation>This method will convert a zip code to Longitude and Latitude. You will get better accuracy with the plus 4 added to the zipcode. Use a license key of 0 for testing.</documentation>
  78. <input message="s0:GetLatLongHttpPostIn" />
  79. <output message="s0:GetLatLongHttpPostOut" />
  80. </operation>
  81. </portType>
  82. <binding name="Zip2GeoSoap" type="s0:Zip2GeoSoap">
  83. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
  84. <operation name="GetLatLong">
  85. <soap:operation soapAction="http://ws.cdyne.com/GetLatLong" style="document" />
  86. <input>
  87. <soap:body use="literal" />
  88. </input>
  89. <output>
  90. <soap:body use="literal" />
  91. </output>
  92. </operation>
  93. </binding>
  94. <service name="Zip2Geo">
  95. <port name="Zip2GeoSoap" binding="s0:Zip2GeoSoap">
  96. <soap:address location="http://ws.cdyne.com/ziptogeo/zip2geo.asmx" />
  97. </port>
  98. </service>
  99. </definitions>