来自wso2 esb中的servise链的使用应用程序中的错误

时间:2013-09-22 05:53:45

标签: c# xml wso2 esb

我有一个服务链在wso2 esb中,现在我想要一个应用程序发送和recceiev消息,但我有一个错误:

The content type application/soap+xml; charset=utf-8 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 361 bytes of the response were: '<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><MultiServiceResponse xmlns="http://tempuri.org/"><MultiServiceResult>121</MultiServiceResult></MultiServiceResponse></soap:Body></soap:Envelope>'

1 个答案:

答案 0 :(得分:1)

看起来您已经发送了soap12请求,该服务需要soap11请求。 使用soap11请求调用服务,您将能够解决此问题。