My code is what Sean posted yesterday: <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>
It doesn't matter what the web service is, I always get the same result, unless its an internal one that I've written. I've tried several different ones. >On Tuesday, Feb 11, 2003, at 10:19 America/Chicago, Brad Howerter wrote: > >> The "java.net.SocketException: connect" makes me think my proxy must >> somehow >> be denying access. Does anyone know what we need to turn on or change? >> > >I likewise sometimes received that error, but now (with the help of >this list) am consuming it correctly. I don't offhand remember what I >did to generate that error. What exactly is your code? Here's what I >have that is working: > ><cfset zip = "22222"> > ><cfinvoke > webservice = "http://www.ejse.com/WeatherService/Service.asmx?WSDL" > method = "getExtendedWeatherInfo" > returnvariable = "WeatherInfo"> > <cfinvokeargument name = "zipCode" value = "#zip#"/> ></cfinvoke> > ><strong>#WeatherInfo.getDay1().day#, >#WeatherInfo.getDay1().date#: </strong>High of >#WeatherInfo.getDay1().high#F ><br /> ><strong>Temperature: </ >strong>#WeatherInfo.GetInfo().getTemprature()# ><br /> > >I'm particularly fond of the spelling of temperature ;o) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4