BEA-382040:无法设置上下文变量的值"body"。值必须是 {http://www.w3.org/2003/05/soap-envelope}Body 的实例



我创建了一个 OSB 服务,其中业务和代理服务都是基于同一个 wsdl 文件创建的,在代理消息流中,我使用了带有"对出站使用入站操作"的路由选项,并且我在 sbconsole 11g 中开发了完整的流程

当我开始测试该服务时,我收到以下响应。

The invocation resulted in an error: .
<soap:Envelope  xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text  xml:lang="en">
BEA-382040: Failed to set the value of context variable "body". Value must be an instance of {http://www.w3.org/2003/05/soap-envelope}Body.
</soap:Text>
</soap:Reason>
<soap:Detail>
<con:fault  xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382040</con:errorCode>
<con:reason>
Failed to set the value of context variable "body". Value must be an instance of {http://www.w3.org/2003/05/soap-envelope}Body.
</con:reason>
<con:location>
<con:path>response-pipeline</con:path>
<con:error-handler>true</con:error-handler>
</con:location>
</con:fault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

因此,请帮助解决问题。

看起来您的外部服务不返回肥皂正文。您确定调用的服务返回它吗?

最新更新