p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Book: Wrox's Visual C# 2005 Express Edition Starter Kit (http://p2p.wrox.com/forumdisplay.php?f=243)
-   -   new weather web service (http://p2p.wrox.com/showthread.php?t=47480)

cherry September 6th, 2006 01:52 PM

new weather web service
capescience is no longer active on the internet (service in the book)
capeclear is now the service, I guess

anyway "http://live.capeclear.com/ccx/GlobalWeather?wsdl" is the reference I've successfully added to the project

the code from the book(p275) is:

            com.capeclear.live.GlobalWeather wsWeather = new com.capeclear.live.GlobalWeather();

            com.capeclear.live.WeatherReport wsReport = wsWeather.getWeatherReport(this.txtAirportToLocate .Text);

the error when building the above code is:

(1)The best overloaded method match for 'Chapter15.com... has some invalid arguments.
(2)Argument '1' cannot convert from 'string' to 'Chapter15.com.capeclear.live.getWeatherReport'

it doesnt like argument 'this.txtAirportToLocate.Text'

any suggestions?

All times are GMT -4. The time now is 03:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.