CF'ers, I figured out the problem that everybody was talking about in a previous thread from earlier in the month. This email describes how to make it work.
The problem that (I think) everybody was having is that they forgot that web services are strongly typed but ColdFusion is not. That means you can't pass a string into an array of bits. You can use my simple CFC interface to all of this at (http://www.jonathanblock.com/pineapple/noaa.html) or you can do it yourself like I have in the example below... (example.cfm) ---------------- <CFPARAM NAME="WAVEH" DEFAULT="false" type="boolean"> <CFPARAM NAME="maxt" DEFAULT="true" type="boolean"> <CFPARAM NAME="mint" DEFAULT="true" type="boolean"> <CFPARAM NAME="temp" DEFAULT="false" type="boolean"> <CFPARAM NAME="dew" DEFAULT="false" type="boolean"> <CFPARAM NAME="pop12" DEFAULT="false" type="boolean"> <CFPARAM NAME="qpf" DEFAULT="false" type="boolean"> <CFPARAM NAME="snow" DEFAULT="false" type="boolean"> <CFPARAM NAME="sky" DEFAULT="false" type="boolean"> <CFPARAM NAME="wspd" DEFAULT="false" type="boolean"> <CFPARAM NAME="wdir" DEFAULT="false" type="boolean"> <CFPARAM NAME="wx" DEFAULT="false" type="boolean"> <CFPARAM NAME="icons" DEFAULT="false" type="boolean"> <CFPARAM NAME="waveh" DEFAULT="false" type="boolean"> <CFPARAM NAME="startDate" DEFAULT="#CreateDate(2005, 1, 17)#" type="date"> <CFPARAM NAME="numDays" DEFAULT="2" type="numeric"> <CFPARAM NAME="format" DEFAULT="24 hourly" type="string"> <cfset strWeatherParameters = STRUCTNEW() /> <cfset strWeatherParameters.WAVEH = WAVEH /> <cfset strWeatherParameters.maxt = maxt /> <cfset strWeatherParameters.mint = mint /> <cfset strWeatherParameters.temp = temp /> <cfset strWeatherParameters.dew = dew /> <cfset strWeatherParameters.pop12 = pop12 /> <cfset strWeatherParameters.qpf = qpf /> <cfset strWeatherParameters.snow = snow /> <cfset strWeatherParameters.sky = sky /> <cfset strWeatherParameters.wspd = wspd /> <cfset strWeatherParameters.wdir = wdir /> <cfset strWeatherParameters.wx = wx /> <cfset strWeatherParameters.icons = icons /> <cfset strWeatherParameters.waveh = waveh /> <cfinvoke webservice = "http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl" method = "NDFDgenByDay" returnvariable = "xmlWeatherData"> <cfinvokeargument name="latitude" value="42.3485"/> <cfinvokeargument name="longitude" value="-71.0733"/> <cfinvokeargument name="startDate" value="#startDate#"/> <cfinvokeargument name="numDays" value="#numDays#"/> <cfinvokeargument name="format" value="#format#"/> </cfinvoke> <cfset weatherXMLobject = XMLParse(xmlWeatherData) /> <CFDUMP VAR="#weatherXMLobject#"> ---------------- Jon Block ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190847 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

