CFInvoke CDYNE weather
There are 3 methods to use with cdyne: (1) getcityweatherbyzip (2) getcityforecastbyzip (3) getWeatherInformation
More information can be found on their site at http://ws.cdyne.com/WeatherWS/Weather.asmx
The first two are pretty straightforward and return the values needed:
<cfinvoke webservice="http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl" method="getcityweatherbyzip" returnvariable="aWeatherReturn">
<cfinvokeargument name="ZIP" value="27502"/>
</cfinvoke>
<cfoutput>
#aweatherreturn.weatherid#<Br />
#aWeatherReturn.temperature#<br />
#aweatherreturn.description#<Br />
#aweatherreturn.weatherstationcity#<br />
</cfoutput>
<cfdump var="#aweatherreturn#">
I am stumped on method 3, getWeatherInformation. Does anyone know how to get the returned values for weatherid, description, and pictureURL from this method? I don't get this. How does it know what area/zip for this method?
<cfinvoke webservice="http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl" method="getweatherinformation" returnvariable="bWeatherReturn">
</cfinvoke>
<cfdump var="#bweatherReturn#">
<cfoutput>#bweatherreturn.weatherdescription#<Br />
</cfoutput>
Here is an example of my results for both methods:
http://shepherdsvineyardpool.com/sites/dsp/dsp_weather.cfm
Thank YOU! Once this is resolved, I hope to have CDYNE post this example on their website to help others. They have an example of the other methods, but not this one.
