5 Most Recent
    Location/Geography
    Specialist
    Utility
    Tools
    Weather
    Financial
    Business
    Binary
Service Owner: Capescience
Service Home: http://www.capescience.com/webservices/globalweather/index.shtml
Service WSDL URL: http://live.capescience.com/wsdl/GlobalWeather.wsdl
Inspect WSDL      View WSDL
Short Description: This Web service returns detailed, strong-typed and time-stamped weather data from around the world.
Implementation: capescience
Quantity Price Setup Fee Setup Time Trial
unlimited free no instant no
This Web service returns detailed, strong-typed and time-stamped weather data, and returns results much faster than AirportWeather. You can search for valid weather stations by station codes, country, latitude, longitude, elevation, name or region. You can also use the isValidCode operation to validate a particular code.

Once you've got a valid weather station code, you can use the getWeatherReport operation to return a detailed data set that includes more weather-related information than you could ever require: precipitation, atmospheric pressure, cloud cover, wind, temperature, visibility, and so on.

This Web service works by downloading a batch file from NOAA in the background each hour, updating a data repository. Queries are then made against this repository. Another advantage of GlobalWeather is that the getWeatherReport method will accept ICAO, IATA/FAA, & WMO identifiers. The previous AirportWeather only accepted ICAO codes. The IATA/FAA designations are more commonly known (for example, for Dublin airport, the ICAO code is EIDW, while the IATA code is DUB).

In the returned weather data, the date and time is Coordinated Universal Time (UTC), also known as "Z-Time". Note that this weather may be up to two hours old, as we're dependent on the National Weather Service for data.

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.

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

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

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


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


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

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