NOAA has been changing its weather forecast Web service and my Weather Report control has been broken for quite some time now. Web service location moved here:
Another (bigger) issue is that apparently NOAA Web service sometimes returns chunked HTTP response which is legal in HTTP 1.1, but .NET 2.0 has issues with parsing chinky HTTP responses. See excellent Rob Garrett’s blog post on the subject. Chunked response caused control to fail sometimes depending on the size of the response. The fix is to override GetWebRequest in the proxy generated from WSDL and set HTTP version to 1.0. The tricky part is that you can’t then use “Add Web Reference” in VS 2005 as it no loger generates visible proxy. I generated proxy by using WSDL.EXE from the 2.0 framework folder, tweaked it and added it to App_Code.
The attached ZIP includes control as well as sample Web site project for Visual Studio 2005 and Visual Web Developer Express 2005. Please also look at the README file.