Zipcode Service page

This is the home page of the Zipcode web service, a service that maps between US Zipcodes and city+state pairs. For example, pass in a US zipcode (eg, 99568) and you will get the set of all city+state pairs that match that US zipcode. Or, pass in a valid city+state name (eg, Omaha NE) and you will receive all of the valid zipcodes. NB: omit all punctuation (commas, periods, etc).

You can also retrieve the latitude and longitude of a zipcode, via the web service. The same method returns a string URL that holds a map of the zipcode, .4x.4 degrees (courtesy of the US Census).

The web service itself is implemented in C# and ASP.NET and is running right now on this server. It basically screen-scrapes information from existing HTML-forms based websites. You can try it out for yourself.

This page also includes links to source code of the server implementation, and various client implementations, in C#, perl, and Java. Any particularly motivated people that write their own sample clients for this service are encouraged to upload them to xmethods (See link below).

Local Links for the ZipCode service

web service documentation page (autogen)
web client (hand coded, ASPX, uses library)
web client (hand coded, ASPX, uses web service)
web client (hand coded, JSP, uses web service, AXIS stack)
The WSDL (document/literal)
The WSDL (RPC/SOAP encoded)
View or download source code:
      the screen scraper library (C#)
      the web service module (C#/ASMX)
      Swing client; console client (java-1.3 + GLUE-3.2.1)
      console client (java+AXIS 1.0)
      SWT client, console client (java-1.3 + AXIS-1.0/1.1 + Eclipse SWT-2.1)
      JSP client (JSP 1.2 + AXIS-1.0/1.1 )
      console client (java-1.3 + WASP-4.0)
      console client (C#)
      aspx web client (C#)
      console client (perl, SOAP::Lite v0.55)

Related

The USPS web page this service wraps
Home page of this services on XMethods (post your client here)

Last Updated: Wednesday, 24 March 2004


This page has been accessed 5561 times since 16 October 2003