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?
|