Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
kaypro4 #1
NOAA Weather Web Service
I'm having a tough time getting the NDFDgen method to work for the NOAA web
serivice. Here is the documentation on the service itself:
[url]http://weather.gov/xml/[/url]
The calling code is below:
<cfinvoke
method="NDFDgen"
webservice="http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"
latitude="38.99"
longitude="-77.99"
product="glance"
startTime="2004-01-01T00:00:00"
endTime="2009-07-29T00:00:00"
weatherParameters="maxt = TRUE"
Returnvariable="foo">
</cfinvoke>
<cfoutput>#foo#</cfoutput>
kaypro4 Guest
-
NOAA Weather Web Service in Flash
Hi, i am really new to Flash and am enjoying the learning process but i have a question which i cant figure out. I live in Colorado Springs and... -
weather web service
hi there, I was wondering how I can invoke some certain information about a certain city ( Mexico City ) using a WebService, I was trying with this... -
Consume NOAA Web Service
I'm using the code below to attempt to consume the NOAA weather service and am getting the following error: Web service operation "NDFDgen" with... -
free Weather web service?
somebody knows good weather web service available ? -
Web Service to get the weather forecast
anybody Knows where can I find Web Service to get the weather forecast for all Worldwide Countries thanks in advance -- -
dempster #2
Re: NOAA Weather Web Service
I had some challenges with that myself, but the attached code does seem to work
for me. I'm not sure if the CFINVOKEARGUMENT tag is required, but it does work.
-Paul
<CFINVOKE METHOD="NDFDgenByDay" RETURNVARIABLE="nwsdata"
WEBSERVICE="http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl">
<CFINVOKEARGUMENT NAME="Latitude" VALUE="40.1805">
<CFINVOKEARGUMENT NAME="Longitude" VALUE="-77.2345">
<CFINVOKEARGUMENT NAME="numDays" VALUE="7">
<CFINVOKEARGUMENT NAME="Format" VALUE="12 hourly">
<CFINVOKEARGUMENT NAME="startdate" VALUE="#DateFormat(Now(),"yyyy-mm-dd")#">
</CFINVOKE>
<CFSET mydoc = XMLPARSE(nwsdata)>
dempster Guest



Reply With Quote

