<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.microapplications.com/ZipService/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.microapplications.com/ZipService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Methods to calculate U.S.A. zip code distances and city proximities.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.microapplications.com/ZipService/">
      <s:element name="GetZipDistance">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="zipcode1" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="zipcode2" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetZipDistanceResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="GetZipDistanceResult" type="s:float" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetLocationsNearZipcode">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="zipcode" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="radius" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetLocationsNearZipcodeResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetLocationsNearZipcodeResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetZipsFromCityName">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="city" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="state" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetZipsFromCityNameResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetZipsFromCityNameResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="float" type="s:float" />
      <s:element name="DataSet" nillable="true">
        <s:complexType>
          <s:sequence>
            <s:element ref="s:schema" />
            <s:any />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetZipDistanceSoapIn">
    <wsdl:part name="parameters" element="tns:GetZipDistance" />
  </wsdl:message>
  <wsdl:message name="GetZipDistanceSoapOut">
    <wsdl:part name="parameters" element="tns:GetZipDistanceResponse" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeSoapIn">
    <wsdl:part name="parameters" element="tns:GetLocationsNearZipcode" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeSoapOut">
    <wsdl:part name="parameters" element="tns:GetLocationsNearZipcodeResponse" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameSoapIn">
    <wsdl:part name="parameters" element="tns:GetZipsFromCityName" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameSoapOut">
    <wsdl:part name="parameters" element="tns:GetZipsFromCityNameResponse" />
  </wsdl:message>
  <wsdl:message name="GetZipDistanceHttpGetIn">
    <wsdl:part name="zipcode1" type="s:string" />
    <wsdl:part name="zipcode2" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetZipDistanceHttpGetOut">
    <wsdl:part name="Body" element="tns:float" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeHttpGetIn">
    <wsdl:part name="zipcode" type="s:string" />
    <wsdl:part name="radius" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeHttpGetOut">
    <wsdl:part name="Body" element="tns:DataSet" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameHttpGetIn">
    <wsdl:part name="city" type="s:string" />
    <wsdl:part name="state" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameHttpGetOut">
    <wsdl:part name="Body" element="tns:DataSet" />
  </wsdl:message>
  <wsdl:message name="GetZipDistanceHttpPostIn">
    <wsdl:part name="zipcode1" type="s:string" />
    <wsdl:part name="zipcode2" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetZipDistanceHttpPostOut">
    <wsdl:part name="Body" element="tns:float" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeHttpPostIn">
    <wsdl:part name="zipcode" type="s:string" />
    <wsdl:part name="radius" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetLocationsNearZipcodeHttpPostOut">
    <wsdl:part name="Body" element="tns:DataSet" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameHttpPostIn">
    <wsdl:part name="city" type="s:string" />
    <wsdl:part name="state" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetZipsFromCityNameHttpPostOut">
    <wsdl:part name="Body" element="tns:DataSet" />
  </wsdl:message>
  <wsdl:portType name="ZipServiceSoap">
    <wsdl:operation name="GetZipDistance">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the distance in miles between two zipcodes.</wsdl:documentation>
      <wsdl:input message="tns:GetZipDistanceSoapIn" />
      <wsdl:output message="tns:GetZipDistanceSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of locations within the radius of the given zipcode.</wsdl:documentation>
      <wsdl:input message="tns:GetLocationsNearZipcodeSoapIn" />
      <wsdl:output message="tns:GetLocationsNearZipcodeSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of zipcodes for the SOUNDEX of the given city.</wsdl:documentation>
      <wsdl:input message="tns:GetZipsFromCityNameSoapIn" />
      <wsdl:output message="tns:GetZipsFromCityNameSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="ZipServiceHttpGet">
    <wsdl:operation name="GetZipDistance">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the distance in miles between two zipcodes.</wsdl:documentation>
      <wsdl:input message="tns:GetZipDistanceHttpGetIn" />
      <wsdl:output message="tns:GetZipDistanceHttpGetOut" />
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of locations within the radius of the given zipcode.</wsdl:documentation>
      <wsdl:input message="tns:GetLocationsNearZipcodeHttpGetIn" />
      <wsdl:output message="tns:GetLocationsNearZipcodeHttpGetOut" />
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of zipcodes for the SOUNDEX of the given city.</wsdl:documentation>
      <wsdl:input message="tns:GetZipsFromCityNameHttpGetIn" />
      <wsdl:output message="tns:GetZipsFromCityNameHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="ZipServiceHttpPost">
    <wsdl:operation name="GetZipDistance">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the distance in miles between two zipcodes.</wsdl:documentation>
      <wsdl:input message="tns:GetZipDistanceHttpPostIn" />
      <wsdl:output message="tns:GetZipDistanceHttpPostOut" />
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of locations within the radius of the given zipcode.</wsdl:documentation>
      <wsdl:input message="tns:GetLocationsNearZipcodeHttpPostIn" />
      <wsdl:output message="tns:GetLocationsNearZipcodeHttpPostOut" />
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a set of zipcodes for the SOUNDEX of the given city.</wsdl:documentation>
      <wsdl:input message="tns:GetZipsFromCityNameHttpPostIn" />
      <wsdl:output message="tns:GetZipsFromCityNameHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ZipServiceSoap" type="tns:ZipServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetZipDistance">
      <soap:operation soapAction="http://www.microapplications.com/ZipService/GetZipDistance" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <soap:operation soapAction="http://www.microapplications.com/ZipService/GetLocationsNearZipcode" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <soap:operation soapAction="http://www.microapplications.com/ZipService/GetZipsFromCityName" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="ZipServiceSoap12" type="tns:ZipServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetZipDistance">
      <soap12:operation soapAction="http://www.microapplications.com/ZipService/GetZipDistance" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <soap12:operation soapAction="http://www.microapplications.com/ZipService/GetLocationsNearZipcode" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <soap12:operation soapAction="http://www.microapplications.com/ZipService/GetZipsFromCityName" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="ZipServiceHttpGet" type="tns:ZipServiceHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="GetZipDistance">
      <http:operation location="/GetZipDistance" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <http:operation location="/GetLocationsNearZipcode" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <http:operation location="/GetZipsFromCityName" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="ZipServiceHttpPost" type="tns:ZipServiceHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="GetZipDistance">
      <http:operation location="/GetZipDistance" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetLocationsNearZipcode">
      <http:operation location="/GetLocationsNearZipcode" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetZipsFromCityName">
      <http:operation location="/GetZipsFromCityName" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ZipService">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Methods to calculate U.S.A. zip code distances and city proximities.</wsdl:documentation>
    <wsdl:port name="ZipServiceSoap" binding="tns:ZipServiceSoap">
      <soap:address location="http://www.microapplications.com/ZipService/ZipService.asmx" />
    </wsdl:port>
    <wsdl:port name="ZipServiceSoap12" binding="tns:ZipServiceSoap12">
      <soap12:address location="http://www.microapplications.com/ZipService/ZipService.asmx" />
    </wsdl:port>
    <wsdl:port name="ZipServiceHttpGet" binding="tns:ZipServiceHttpGet">
      <http:address location="http://www.microapplications.com/ZipService/ZipService.asmx" />
    </wsdl:port>
    <wsdl:port name="ZipServiceHttpPost" binding="tns:ZipServiceHttpPost">
      <http:address location="http://www.microapplications.com/ZipService/ZipService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>