I am trying to consume web services at
http://www.nws.noaa.gov/forecasts/xml/
using the web reference
My code is as follows:
gov.weather.www.ndfdXML proxy = new gov.weather.www.ndfdXML();
string xmlData = proxy.NDFDgenBy Day(47.72, -122.02, DateTime.Today. Date,
"5", "24 hourly");
But I get error:
The best overloaded method match for
'gov.weather.www.ndfdXML.NDFDgenByDay(decimal, decimal, System.DateTime ,
string, string)' has some invalid arguments
Any idea??
Thanks!
http://www.nws.noaa.gov/forecasts/xml/
using the web reference
My code is as follows:
gov.weather.www.ndfdXML proxy = new gov.weather.www.ndfdXML();
string xmlData = proxy.NDFDgenBy Day(47.72, -122.02, DateTime.Today. Date,
"5", "24 hourly");
But I get error:
The best overloaded method match for
'gov.weather.www.ndfdXML.NDFDgenByDay(decimal, decimal, System.DateTime ,
string, string)' has some invalid arguments
Any idea??
Thanks!
Comment