开发者

What does this gSoap fault message mean?

开发者 https://www.devze.com 2023-03-10 14:27 出处:网络
I am using gSoap to communicate with the web service. I am using Qt to create application that uses gSoap. I am getting following fault message for some of the calls

I am using gSoap to communicate with the web service. I am using Qt to create application that uses gSoap. I am getting following fault message for some of the calls

SOAP 1.1 fault: "http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher":Deserializati开发者_JS百科onFailed[no subcode] "The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'GetPendingCommands'. Unexpected end of file. Following elements are not closed: Body, Envelope. Line 2, position 459."

Can someone please explain me what could be wrong with the service?

Thanks

DPatel


If chunking is turned on in your client side code, try turning it off. I seem to recall that you have to do something special with gSoap to get it to support chunking on the server side.


The error message means the client has received a truncated SOAP envelope. This often happens if the web service neglects to flush its output buffer before returning.

0

精彩评论

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