5 Most Recent
    Location/Geography
    Specialist
    Utility
    Tools
    Weather
    Financial
    Business
    Binary
Service Owner: CapeScience
Service Home: http://www.capescience.com/webservices/airportweather/index.shtml
Service WSDL URL: http://live.capescience.com/wsdl/AirportWeather.wsdl
Inspect WSDL      View WSDL
Short Description: This web service reports on weather at all airports and airfields that have a registered ICAO (International Civil Aviation Organisation) number.
Implementation: CapeScience
Quantity Price Setup Fee Setup Time Trial
unlimited free no instant no
This web service reports on weather at all airports and airfields that have a registered ICAO (International Civil Aviation Organisation) number. Input to all methods is the ICAO designation e.g. EIDW for Dublin Airport Ireland or KJFK for JFK Airport in New York, USA. The weather service data is provided by the US Government's National Weather Service; - this data is freely available and reuseable, but is non-copyrightable in its raw form.

There are several methods for retrieving weather items (e.g. getWind(), getTemperature()) which return a string. However, there is also a method, getSummary(), which returns a complex object, the fields of which can be inspected.

The following are IATA/FAA designations for some popular airports:
  • JFK - New York JFK
  • LAX - Los Angeles Intl.
  • DUB - Dublin, Ireland
  • HKG - Hong Kong Intl.
  • AMS - Amsterdam
  • LHR - London Heathrow
  • SYD - Sydney Intl.
  • TYO - Tokyo Intl.
  • CAI - Cairo

Alternately, you can go to http://www.iata.org/codes/ to find your local aiport.

Methods: getLocation(), getWind(), getTemperature(), getSky(), getPressure(), getHumidity(), getOb(), getSummary()

#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("<PathToGateway>"); 

// sets up the service. 
var service serverConn.getService("http://live.capescience.com/wsdl/AirportWeather.wsdl"serviceResult); 

// Set the params and call the service
// returns weather for an airport code.
params = { 
    
stationcode:'KJFK'


// calls the getTemperature method.
service.getTemperature(params); 


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

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