Same here, it's very unreliable. We cache the feed as well but the scheduled task that grabs it every night fails more often than it works. I've had some success using a CFTRY statement to try the full URL if the other fails ... There's another one I can't remember off the top of my head that uses something other than ejse.com but has the same path to the web service.
I'll post it as soon as I get home and can dig it up. Thanks, Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 ************************************************************************ ************* Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] ************************************************************************ ************* -----Original Message----- From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 8:32 PM To: CF-Talk Subject: RE: Web Disservices I feel compelled to note, however, that EJSE's Web service is not very reliable. We integrated it into our homepage some time ago, and I personally monitor the ColdFusion error logs so I get to see how often it generates errors. Actually, having said that, the service has only failed twice out of 20 attempts today. It's a banner day! Anyway, we call the service hourly, caching results, storing them both in WDDX on the drive and in the application scope. When the application is loaded (the ColdFusion service is restarted, the Web server is booted, etc.), the application loads the data from the WDDX file back into the application scope. All requests pull the data from the application scope. Using this method, the uptime of the weather service doesn't have to be great: it just needs to be up more than it's down. I've learned to set my expectations low when dealing with Web services, especially the free ones. :) Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 5:58 PM To: CF-Talk Subject: Re: Web Disservices On Sunday, Feb 9, 2003, at 20:54 US/Pacific, danielEthan wrote: > The web services I'm trying to consume are all weather related: > > <cfinvoke > webservice = "http://www.ejse.com/WeatherService/Service.asmx?wsdl" > method = "GetWeatherInfo" > zipCode = "65641" > returnvariable = "Weather"> Works just fine: Weather for location: Castro Valley, CA Temp: 64�F Feels like: Forecast: Fair Visibility: Unlimited Pressure: 30.00 inches and falling DewPoint: 32�F UVIndex: 3 Low Humidity: 30% Wind: From the East at 12 mph Reported at: Hayward, CA Last updated: Monday, February 10, 2003, at 1:54 PM Pacific Standard Time (Monday, 4:54 PM EST). Here's my code: <cfinvoke webservice = "http://www.ejse.com/WeatherService/Service.asmx?wsdl" method = "GetWeatherInfo" zipCode = "94546" returnvariable = "Weather"> Weather for location: #Weather.getLocation()#<br> Temp: #Weather.getTemprature()# Feels like: #Weather.getFeelsLike()#<br> Forecast: #Weather.getForecast()# Visibility: #Weather.getVisibility()#<br> Pressure: #Weather.getPressure()# DewPoint: #Weather.getDewPoint()#<br> UVIndex: #Weather.getUVIndex()# Humidity: #Weather.getHumidity()#<br> Wind: #Weather.getWind()#<br> Reported at: #Weather.getReportedAt()# Last updated: #Weather.getLastUpdated()#<br> Note that you get back a Java object and have to call methods on it to extract the data. You can find this out - as I did - by calling cfdump on the returned variable. It's a bit cold in Eagle Rock, isn't it? 43F? Brrrrrr... Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog ColdFusion MX and JRun 4 now available for Mac OS X! http://www.macromedia.com/go/cfmxosx ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

