<?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.hosca.com/webservices/bankfinder" 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.hosca.com/webservices/bankfinder" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.hosca.com/webservices/bankfinder">
      <s:element name="GetBanksForZipcode">
        <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="GetBanksForZipcodeResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetBanksForZipcodeResult" type="tns:ArrayOfBank" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfBank">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Bank" nillable="true" type="tns:Bank" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Bank">
        <s:attribute name="Name" type="s:string" />
        <s:attribute name="Address" type="s:string" />
        <s:attribute name="City" type="s:string" />
        <s:attribute name="State" type="s:string" />
        <s:attribute name="ZipCode" type="s:string" />
        <s:attribute name="Latitude" type="s:double" use="required" />
        <s:attribute name="Longitude" type="s:double" use="required" />
        <s:attribute name="WebAddress" type="s:string" />
        <s:attribute name="FullAddress" type="s:string" />
      </s:complexType>
      <s:element name="ArrayOfBank" nillable="true" type="tns:ArrayOfBank" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetBanksForZipcodeSoapIn">
    <wsdl:part name="parameters" element="tns:GetBanksForZipcode" />
  </wsdl:message>
  <wsdl:message name="GetBanksForZipcodeSoapOut">
    <wsdl:part name="parameters" element="tns:GetBanksForZipcodeResponse" />
  </wsdl:message>
  <wsdl:message name="GetBanksForZipcodeHttpGetIn">
    <wsdl:part name="zipcode" type="s:string" />
    <wsdl:part name="radius" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetBanksForZipcodeHttpGetOut">
    <wsdl:part name="Body" element="tns:ArrayOfBank" />
  </wsdl:message>
  <wsdl:message name="GetBanksForZipcodeHttpPostIn">
    <wsdl:part name="zipcode" type="s:string" />
    <wsdl:part name="radius" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetBanksForZipcodeHttpPostOut">
    <wsdl:part name="Body" element="tns:ArrayOfBank" />
  </wsdl:message>
  <wsdl:portType name="BankFinderSoap">
    <wsdl:operation name="GetBanksForZipcode">
      <wsdl:input message="tns:GetBanksForZipcodeSoapIn" />
      <wsdl:output message="tns:GetBanksForZipcodeSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="BankFinderHttpGet">
    <wsdl:operation name="GetBanksForZipcode">
      <wsdl:input message="tns:GetBanksForZipcodeHttpGetIn" />
      <wsdl:output message="tns:GetBanksForZipcodeHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="BankFinderHttpPost">
    <wsdl:operation name="GetBanksForZipcode">
      <wsdl:input message="tns:GetBanksForZipcodeHttpPostIn" />
      <wsdl:output message="tns:GetBanksForZipcodeHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="BankFinderSoap" type="tns:BankFinderSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetBanksForZipcode">
      <soap:operation soapAction="http://www.hosca.com/webservices/bankfinder/GetBanksForZipcode" 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="BankFinderSoap12" type="tns:BankFinderSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetBanksForZipcode">
      <soap12:operation soapAction="http://www.hosca.com/webservices/bankfinder/GetBanksForZipcode" 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="BankFinderHttpGet" type="tns:BankFinderHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="GetBanksForZipcode">
      <http:operation location="/GetBanksForZipcode" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="BankFinderHttpPost" type="tns:BankFinderHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="GetBanksForZipcode">
      <http:operation location="/GetBanksForZipcode" />
      <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="BankFinder">
    <wsdl:port name="BankFinderSoap" binding="tns:BankFinderSoap">
      <soap:address location="http://www.hosca.com/webservices/bankfinder/bankfinder.asmx" />
    </wsdl:port>
    <wsdl:port name="BankFinderSoap12" binding="tns:BankFinderSoap12">
      <soap12:address location="http://www.hosca.com/webservices/bankfinder/bankfinder.asmx" />
    </wsdl:port>
    <wsdl:port name="BankFinderHttpGet" binding="tns:BankFinderHttpGet">
      <http:address location="http://www.hosca.com/webservices/bankfinder/bankfinder.asmx" />
    </wsdl:port>
    <wsdl:port name="BankFinderHttpPost" binding="tns:BankFinderHttpPost">
      <http:address location="http://www.hosca.com/webservices/bankfinder/bankfinder.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>