开发者

Problem with SOAP request

开发者 https://www.devze.com 2023-02-02 22:37 出处:网络
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'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:

  1. 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.

  2. 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消