Problem with SOAP request
I'm getting the error: "Server did not recognize the value of HTTP Header SOAPAction:"
Does it necessarily say the problem is with my soap action? or can it also be in my soap message?
I want to debug this issue but don't know whe开发者_StackOverflowre to start... =\
10x
You need to check a couple of things:
Did the namespace for the web service change? - This can generate the error because the deserialization of the xml being posted to the service fails due to a mismatch in the namespaces of the posted xml and the namespace the service expects.
Did the method being requested get removed from the web service? - Not likely but a missing method might cause the same problem. More likely #1.
Any of these will be fixed by updating your application's reference to the wsdl of the web service.
As the message says, there is a SOAPAction header in your HTTP request and the server isn't recognizing the value. Can you examine or modify the headers being sent in the request?
精彩评论