Wrox Programmer Forums
|
Book: Wrox's Visual C# 2005 Express Edition Starter Kit
This is the forum to discuss the Wrox book Wrox's Visual C# 2005 Express Edition Starter Kit by F. Scott Barker; ISBN: 9780764589553
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Book: Wrox's Visual C# 2005 Express Edition Starter Kit section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2006, 01:52 PM
Registered User
 
Join Date: Aug 2006
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?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Service Oriented Web Service aldwinenriquez .NET Web Services 2 September 15th, 2005 03:25 AM





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