Web Service URL change is not recognized
Posted
by ila
on Stack Overflow
See other posts from Stack Overflow
or by ila
Published on 2010-04-26T19:58:42Z
Indexed on
2010/04/27
5:33 UTC
Read the original article
Hit count: 365
I deployed in a production environment a .net solution that consumes a web service added as "Service reference" in visual studio.
Today the endpoint URL has changed, and I modified that URL in web.config. But when I run the solution I get the error:
System.ServiceModel.FaultException: Server did not recognize the value of HTTP Header SOAPAction: http://93.62.150.200/LogEvent.
Now that sound strange to me. As you can see, the IP is 93.62.... but the new value is different.
The web.config entry (with the new value or the URL) is:
<client>
<endpoint address="http://213.92.50.215/sawfc/WS_SAWFC_Int.asmx"
binding="basicHttpBinding" bindingConfiguration="wsSAWFCInterfaceSoap"
contract="it.datasphere.ws.wsSAWFCInterfaceSoap" name="wsSAWFCInterfaceSoap" />
</client>
I cannot reach the new web service from dev environment, so I cannot modify the Service reference there.
Any idea? Thanks a lot!
© Stack Overflow or respective owner