Weather Service Webservice Issues

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top