S
sduncansca
Hello
We have been using the the National Weather Service
webservice(http://www.weather.gov/xml/) for a while. A couple weeks ago they
made some changes and moved the url of the
wsdl(http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl).
I changed the wsdl location in my project and refreshed the web references,
but now I am getting error "The underlying connection was closed: The server
committed an HTTP protocol violation." and can't get the webservice to
execute from my asp.net application will it does execute from other
webservice
clients(http://www.mindreef.net/tide/scopei...r.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl).
I have tried a work around listed I found on google of putting
<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
</configuration>
in the machine.config but that does not seem to do anything. Appreciate any
help.
Thanks
S
We have been using the the National Weather Service
webservice(http://www.weather.gov/xml/) for a while. A couple weeks ago they
made some changes and moved the url of the
wsdl(http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl).
I changed the wsdl location in my project and refreshed the web references,
but now I am getting error "The underlying connection was closed: The server
committed an HTTP protocol violation." and can't get the webservice to
execute from my asp.net application will it does execute from other
webservice
clients(http://www.mindreef.net/tide/scopei...r.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl).
I have tried a work around listed I found on google of putting
<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
</configuration>
in the machine.config but that does not seem to do anything. Appreciate any
help.
Thanks
S