|
|
| Service Owner: |
Flash-db |
| Service Home: |
www.flash-db.com/services/ |
| Service WSDL URL: |
http://www.flash-db.com/services/ws/locationByZip.wsdl
Inspect WSDL View WSDL |
| Short Description: |
This service returns the latitude and longitude coordinates for any zip code in the US. It also calculates the distance between two different zip codes. |
| Implementation: |
Nusoap |
|
| Unlimited |
Free |
none |
Instant |
No |
|
|
This service returns the latitude and longitude coordinates for any zip code in the US.
It also calculates the distance between two different zip codes. |
|
|
#include "NetServices.as"
#include "NetDebug.as"
// create result handler for results and error messages.
serviceResult = new Object();
serviceResult.onResult = function(result){
trace(result)
}
serviceResult.onStatus = function(status){
trace(status);
}
// sets up the gateway connection.
var serverConn = NetServices.createGatewayConnection("http:// Change Path To /gateway.php");
// sets up the service.
var service = serverConn.getService("http://www.flash-db.com/services/ws/locationByZip.wsdl", serviceResult);
// Set the params and call the service
params = {
zip1:'80021',
zip2:'80303'
}
// calls the method.
service.getDistanceByZip(params);
|
|
|