Using Replace Entire Node With Simple XML leads to the exception "Failed to set the value of context variable 'body'. Value must be an instance of {http://schemas.xmlsoap.org/soap/envelope/}Body"
(Doc ID 1085690.1)
Last updated on AUGUST 12, 2024
Applies to:
Oracle Service Bus - Version 2.1 to 10.3.1 [Release Aqualogic Service Bus to AS10gR3]Information in this document applies to any platform.
Symptoms
During replace action to replace the $body contents, OSB/ALSB is throwing the following exception.
BEA-382040: Failed to set the value of context variable "body". Value must be an instance of {http://schemas.xmlsoap.org/soap/envelope/}Body.
</faultstring>
<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://schemas.xmlsoap.org/soap/envelope/}Body.
</con:reason>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
</detail>
</faultstring>
<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://schemas.xmlsoap.org/soap/envelope/}Body.
</con:reason>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
</detail>
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |