John,

We've all spent '8 hours' getting to square one, so don't get discouraged.

Here's some code that accomplishes what you are after:

<cfscript>
        ws = 
createObject("webservice","http://www.ejseinc.com/WeatherService/Service.asmx?WSDL";);
        getLocation = ws.getWeatherInfo(98102).getLocation();
        getForecast = ws.getWeatherInfo(98102).getForecast();
        getTemprature =  ws.getWeatherInfo(98102).getTemprature();
        getFeelsLike =  ws.getWeatherInfo(98102).getFeelsLike();
        getVisibility = ws.getWeatherInfo(98102).getVisibility();
        getPressure = ws.getWeatherInfo(98102).getPressure();
        getDewPoint = ws.getWeatherInfo(98102).getDewPoint();
        getUVIndex = ws.getWeatherInfo(98102).getUVIndex();
        getHumidity = ws.getWeatherInfo(98102).getHumidity();
        getWind = ws.getWeatherInfo(98102).getWind();
        getReportedAt = ws.getWeatherInfo(98102).getReportedAt();
        getLastUpdated = ws.getWeatherInfo(98102).getLastUpdated();
</cfscript>


        getLocation =<cfoutput>#getLocation#</cfoutput><br>
        getForecast = <cfoutput>#getForecast#</cfoutput><br>
        getTemprature = <cfoutput>#getTemprature#</cfoutput><br>
        getFeelsLike = <cfoutput>#getFeelsLike#</cfoutput><br>
        getVisibility = <cfoutput>#getVisibility#</cfoutput><br>
        getPressure = <cfoutput>#getPressure#</cfoutput><br>
        getDewPoint = <cfoutput>#getDewPoint#</cfoutput><br>
        getUVIndex = <cfoutput>#getUVIndex#</cfoutput><br>
        getHumidity = <cfoutput>#getHumidity#</cfoutput><br>
        getWind = <cfoutput>#getWind#</cfoutput><br>
        getReportedAt = <cfoutput>#getReportedAt#</cfoutput><br>
        getLastUpdated = <cfoutput>#getLastUpdated#</cfoutput><br>


I am using cfscript because I feel that it is a more comfortable code to work with 
webservices.

A big hint: do a cfdump on 'ws.getWeatherInfo(98102)'

I hope this helps, and thanks for using webservices and CFMX!

michael d corbridge
macromedia
617.219.2307
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to