View Single Post
  #1 (permalink)  
Old September 6th, 2006, 01:52 PM
cherry cherry is offline
Registered User
 
Join Date: Aug 2006
Location: Leander, tx, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?