5 Most Recent
    Location/Geography
    Specialist
    Utility
    Tools
    Weather
    Financial
    Business
    Binary
Service Owner: Imacination Software
Service Home: http://webservices.imacination.com/distance/
Service WSDL URL: http://webservices.imacination.com/distance/Distance.jws?wsdl
Inspect WSDL      View WSDL
Short Description: Calculates the distance between two U.S. ZIP codes, and retrieves location information about a specific zip code.
Implementation: AXIS/jTalk
Quantity Price Setup Fee Setup Time Trial
unlimited Free Free Instant Demo
Calculates the distance between two U.S. ZIP codes. Includes lookup of City/State name and Latitude and Longitude positions of starting and ending Locations.

------ Below: Notes from Flash-db.com ------

Use the WSDL inspector for more information on this and all other services listed.

Here is an plain example client of using the Zip Distance Service with PHP:
http://www.flash-db.com/services/clients/zipDistanceClientS.php?fromZip=80003&toZip=80303
- Change the fromZip and toZip parameters around for a new Search.

You can see the code snipet for that at:
http://www.flash-db.com/services/clients/zipDistanceClientS.phps Notice the similarities between the php and flash remoting version below.

#include "NetServices.as"
#include "NetDebug.as"

// create result handler for service.
serviceResult = new Object();
serviceResult.onResult = function(result){
    
trace(result)
}
serviceResult.onStatus = function(status){
    
trace(status);
}

// sets up the gateway connection.
var serverConn     NetServices.createGatewayConnection("<PathToGateway>/gateway.php");

// sets up the service.
var service serverConn.getService("http://webservices.imacination.com/distance/Distance.jws?wsdl"serviceResult);

// Set the input params (getDistance)
params = {
    
fromZip:'80021',
    
toZip:'80303'    
}

// parameters for second method call (getLocation)
paramsFrom = {
    
fromZip:'80021'    
}

// call the get distance between two points method. (actual results should be rounded).
service.getDistance(params);

// get location of single point.
service.getLocation(paramsFrom);


© 2010 The Flash-db.com Community! All Rights Reserved.

Hosting for flash-db.com is provided by Hostrocket.com
< / form > < !-- Google analitycs -->