jNOAAForecast

(last updated: 2007-07-24)

Purpose: Investigate how to get the NOAA XML forecast using the Java language.

Overview

The NOAA provides forecast data in XML format through a SOAP service (see http://www.weather.gov/xml). The jNOAAForecast project shows three methods to use this service using the Java language.

    • Method 1: Uses the SOAP API that is built into Java 1.6
    • Method 2: Uses a direct call to a PHP web page
    • Method 3: Uses Apache Axis to handle SOAP messaging and the connection.

Download (see Attachments)

jNOAAForecast - NetBeans 5.5 project, using Java 1.6.0_01 (requires Apache Axis to be installed and included in the NetBeans library manager). See the \src\jNOAAForecast\Main.java file for more information on setup and background.

Terms of Use

Home

Copyright Steven R. Nickels, 2008. All rights reserved.