What does this part do? > > <cfcatch> > > <cfdump var="#cfcatch#"> > > </cfcatch> Thanks, Ken
-----Original Message----- From: jeff tapper [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 2:26 PM To: CF-Talk Subject: Re: Weather WDDX nevermind, just tried it with a canadian zipcode and it didnt work At 04:24 PM 9/6/2002 -0400, you wrote: >Do you know of one for Canadian or International weather? > >----- Original Message ----- >From: "jeff tapper" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Friday, September 06, 2002 4:10 PM >Subject: Re: Weather WDDX > > > > I dont know about a WDDX version, but there is a weather webservice you >can > > easily call from CFMX. Heres the code to call it: > > > > <!--- /weatherclient.cfm > > created 4/25/02 by Jeff Tapper > > Remotesite Technologies > > [EMAIL PROTECTED] > > > > Change History: > > > > Usage: > > A web service client which leverages the vbws weather service > > ---> > > <cftry> > > <cfparam name="form.zipcode" default=""> > > <cfoutput><form > > >action="http://#cgi.server_name#:#cgi.SERVER_PORT##cgi.script_name#?#cg i.que >ry_string#" > > method="post"> > > <table> > > <tr> > > <td colspan="2">Enter a zipcode below to retrive the current >weather.</td></tr> > > <tr><td>Zipcode</td><td><input type="text" name="zipcode" > > value="#form.zipcode#"></td></tr> > > <td colspan="2"><input type="submit" name="submit" value="Get > > Weather"></td></tr> > > </table> > > </form></cfoutput> > > <cfif not structisEmpty(form)> > > <cfinvoke > > webservice="http://www.vbws.com/services/weatherretriever.asmx?WSDL" > > method="GetWeather" returnVariable="stWeather" zipcode="#form.zipcode#"/> > > > > <cfoutput> > > <h1>Current Weather For #form.zipcode#</h1> > > <table cellspacing="2" cellpadding="2" border="0"> > > <tr> > > <td>Last Updated</td> > > <td>#stWeather.LastUpdated#</td> > > </tr> > > <tr> > > <td>Current Temp</td> > > <td>#stWeather.CurrentTemp#</td> > > </tr> > > <tr> > > <td>Current Conditions</td> > > <td>#stWeather.Conditions#</td> > > </tr> > > <tr> > > <td colspan="2"><img src="#stWeather.IconUrl#" > > alt="#stWeather.conditions#" border="1"></td> > > </tr> > > <tr> > > <td>Barometer</td> > > <td>#stWeather.Barometer# #stWeather.BarometerDirection#</td> > > </tr> > > > > <tr> > > <td>Humidity</td> > > <td>#stWeather.Humidity#</td> > > </tr> > > > > </table> > > </cfoutput> > > </cfif> > > <cfcatch> > > <cfdump var="#cfcatch#"> > > </cfcatch> > > </cftry> > > At 05:17 PM 9/6/2002 +0100, you wrote: > > >Any link (reference) to get WDDX packet to view Weather (London) in our > > >company's Intranet home page? > > > > > >Shahzad Butt (Development Engineer) > > > > > >JJ FastFood Distribution Ltd. > > >Office: +44 (0) 1992 701 722 > > >Mobile: +44 (0) 7803 584 873 > > >Fax: +44 (0) 1992 701 604 > > > > > >7 Solar Way, Innova Park, Enfield, London, EN3 7XY > > > > > > > > > > > >********************************************************************** > > >This email and any files transmitted with it are confidential and > > >intended solely for the use of the individual or entity to whom they > > >are addressed. If you have received this email in error please notify > > >the system manager. > > > > > >This footnote also confirms that this email message has been swept by > > >MIMEsweeper for the presence of computer viruses. > > > > > >www.mimesweeper.com > > >********************************************************************** > > > > > > > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

