I am getting the following error:
Message:System.Web.Services.Protocols.SoapExceptio n: Server did not recognize the value of HTTP Header SOAPAction:
http://www.domain.com/WebService/RequestValues.
at System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type, HttpContext context, HttpRequest request, HttpResponse
response, Boolean& abortProcessing)
I have written a wrapper web services in .net 2.0 which will call another web service running in my machine. When my web service calls the other web service the SOAP action URL is changed to some other URL (
http://www.domain.com/WebService/RequestValues). I believe that this is the reason for the error.
I have also tried to assign the <SoapDocumentMethod(Action:="http://localhost URL ")> and <SoapDocumentService(RoutingStyle:=SoapServiceRout ingStyle.RequestElement)>. Still it is not working.
When I call the same web service from a windows application I am not getting error.
Please help me to solve this issue. Is there any workaround for this issue.