开发者

Protocol Exception was unhandled by User

I'm getting the below error message while receive 开发者_StackOverflow社区a webservice response. And this is after the webservice version upgraded.

The content type multipart/related; type="application/xop+xml"; start=""; start-info="text/xml"; boundary="----=_Part_2_7001591.1292244022237" of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ' ------=_Part_2_7001591.1292244022237 Content-Type: application/xop+xml; type="text/xml" Content-Transfer-Encoding: 8bit Content-ID:

ee5f1f723c8d3e4cde6d82624edb85b0_1292244022143_61101522KrishnM<'.


Try changing the messageEncoding attribute of the binding in web.config from Text to Mtom.


It might be due to stackoverflow exception.Some times Stack overflow exception will come due to the debugger is running in infinite (thread)loop.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜