GeoBrokr


Click here for a complete list of operations.

GeoCodeA

Geocode a U.S. location (ASP Only).

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
szStreet:
szCity:
szState:
szZip:
szIP:
szUserID:
szPW:
MaxRecs:

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /GeoBrokr.asmx HTTP/1.1
Host: www.zipmgr.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GeoBrokr/Service1/GeoCodeA"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GeoCodeA xmlns="http://tempuri.org/GeoBrokr/Service1">
      <szStreet>string</szStreet>
      <szCity>string</szCity>
      <szState>string</szState>
      <szZip>string</szZip>
      <szIP>string</szIP>
      <szUserID>string</szUserID>
      <szPW>string</szPW>
      <MaxRecs>int</MaxRecs>
    </GeoCodeA>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GeoCodeAResponse xmlns="http://tempuri.org/GeoBrokr/Service1">
      <GeoCodeAResult>string</GeoCodeAResult>
    </GeoCodeAResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /GeoBrokr.asmx/GeoCodeA?szStreet=string&szCity=string&szState=string&szZip=string&szIP=string&szUserID=string&szPW=string&MaxRecs=string HTTP/1.1
Host: www.zipmgr.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/GeoBrokr/Service1">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /GeoBrokr.asmx/GeoCodeA HTTP/1.1
Host: www.zipmgr.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

szStreet=string&szCity=string&szState=string&szZip=string&szIP=string&szUserID=string&szPW=string&MaxRecs=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/GeoBrokr/Service1">string</string>