X
xml .NET group
I am trying to consume web services at
http://www.nws.noaa.gov/forecasts/xml/
using the web reference
http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
My code is as follows:
gov.weather.www.ndfdXML proxy = new gov.weather.www.ndfdXML();
string xmlData = proxy.NDFDgenByDay(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
http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
My code is as follows:
gov.weather.www.ndfdXML proxy = new gov.weather.www.ndfdXML();
string xmlData = proxy.NDFDgenByDay(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!