This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Can you please suggest me any external web service to find the distance between 2 zip code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Can you please suggest me any external web service to find the distance between 2 zip code" Watch "Can you please suggest me any external web service to find the distance between 2 zip code" New topic
Author

Can you please suggest me any external web service to find the distance between 2 zip code

Shree Chinnu
Greenhorn

Joined: Jan 16, 2010
Posts: 7
Hi
I want to integrate my web service with an external web service to find the distance between 2 zip codes. Please provide me the WSDL port of those web services.

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I googled "zip code web service". The USPS might have one, but their server was too busy to respond. This one:

http://www.remotemethods.com/home/valueman/validati/zipcodes

has a web service whose description says

Instantly determines the distance between the centroid of two U.S. ZIP codes (e.g. the straight line distance between two points).


And it even seems to be WSDL, which is apparently one of your requirements. (Would you not accept a RESTful web service?) But there's lots more on the first page of returned links. I suggest you do the same search and check out those sites for yourself.
 
Consider Paul's rocket mass heater.
 
subject: Can you please suggest me any external web service to find the distance between 2 zip code