Re: How can I verify US mailing address in Java?



On 10 Oct 2005 09:01:24 -0700, "homs_71" <homs_71@xxxxxxxxxxx> wrote
or quoted :

>I have Java web application and I need to verify customer entered
>address. Or at least auto populate City and state from the entered zip
>code. Did anyone ever face this issue? I found a web service that can
>do that but I want to explore all other options.

Abundance, my DOS based data entry language has the following tables
it uses for address validation. You are welcome to them. They are
coded in FORTH, so you might need to do a little work to convert them
and update them.

list of legit zip code prefixes

list of zip code/state pairs.

list of area code/state pairs

list of state abbreviations

In Canada the post office has a service to look up an address by
postal code or vice versa. That might be used on a background thread
for validation. Perhaps there is now something similar in the USA.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Re: Posting XML Files to a Java web service
    ... The java web service is expecting the HTTP header. ... > GoldMine Certified Technician ...
    (microsoft.public.dotnet.languages.vb)
  • HTTPS web service connection errors
    ... We have a Java web application that accesses a Web Service using ... As soon as they installed the new certificate, ... Java web app stopped working. ... sun.security.validator.ValidatorException: PKIX path building failed: ...
    (comp.lang.java.programmer)
  • HTTPS certificates
    ... I have a Java web application that accesses a Web Service using https. ... I set up https parameters with java properties: ...
    (comp.lang.java.programmer)