<?xml version="1.0" encoding="UTF-8"?>
<definitions
    name="ZipCodeLookup"
    targetNamespace="http://ted.mielczarek.org/ZipCodeLookup"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://ted.mielczarek.org/ZipCodeLookup"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <documentation>lookup US 5 digit zip codes by latitude/longitude</documentation>
    <message name="zipcodeFromLatLonDMSMessageResponse">
        <documentation>Returns a 5 digit US zipcode</documentation>
        <part name="zipcode" type="xsd:int">
            <documentation>A 5 digit US zip code</documentation>
        </part>
    </message>
    <message name="zipcodeFromLatLonDMSMessageRequest">
        <documentation>Parameters are latitude/longitude in degrees minutes seconds format</documentation>
        <part name="latitude" type="xsd:string">
            <documentation>Latitude, in degrees minutes seconds notation.  Should be formateed like Hddmmss.s, where H is the hemisphere (N or S), d m and s are all decimal digits.</documentation>
        </part>
        <part name="longitude" type="xsd:string">
            <documentation>Longitude, in degrees minutes seconds notation.  Should be formateed like Hdddmmss.s, where H is the hemisphere (E or W), d m and s are all decimal digits.</documentation>
        </part>
    </message>
    <portType name="ZipCodeLookupPortType">
        <operation name="zipcodeFromLatLonDMS">
            <documentation>Lookup a 5 digit US zip code by latitude/longitude</documentation>
            <input message="tns:zipcodeFromLatLonDMSMessageRequest"/>
            <output message="tns:zipcodeFromLatLonDMSMessageResponse"/>
        </operation>
    </portType>
    <binding name="ZipCodeLookupBinding" type="tns:ZipCodeLookupPortType">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="zipcodeFromLatLonDMS">
            <soap:operation
                soapAction="http://ted.mielczarek.org/ZipCodeLookup#zipcodeFromLatLonDMS"/>
            <input>
                <soap:body namespace="http://ted.mielczarek.org/ZipCodeLookup" use="literal"/>
            </input>
            <output>
                <soap:body namespace="http://ted.mielczarek.org/ZipCodeLookup" use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="ZipCodeLookup">
        <port binding="tns:ZipCodeLookupBinding" name="ZipCodeLookupPort">
            <soap:address
                location="http://ted.mielczarek.org/code/webservice/zipcodeservice.pl"/>
        </port>
    </service>
</definitions>