title: 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
body: <p>I have created a OSB service in which both business and proxy services were created based on same wsdl file, and in the proxy message flow i have used routing options with "Use inbound operation for outbound", and i have developed complete flow in sbconsole 11g</p>
  
  <p>When i started testing the service, i'm getting the below response.</p>
  
  <pre><code>The invocation resulted in an error: .
  &lt;soap:Envelope  xmlns:soap="http://www.w3.org/2003/05/soap-envelope"&gt;
  &lt;soap:Body&gt;
  &lt;soap:Fault&gt;
  &lt;soap:Code&gt;
  &lt;soap:Value&gt;soap:Receiver&lt;/soap:Value&gt;
  &lt;/soap:Code&gt;
  &lt;soap:Reason&gt;
  &lt;soap:Text  xml:lang="en"&gt;
  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.
  &lt;/soap:Text&gt;
  &lt;/soap:Reason&gt;
  &lt;soap:Detail&gt;
  &lt;con:fault  xmlns:con="http://www.bea.com/wli/sb/context"&gt;
  &lt;con:errorCode&gt;BEA-382040&lt;/con:errorCode&gt;
  &lt;con:reason&gt;
  Failed to set the value of context variable "body". Value must be an instance of {http://www.w3.org/2003/05/soap-envelope}Body.
  &lt;/con:reason&gt;
  &lt;con:location&gt;
  &lt;con:path&gt;response-pipeline&lt;/con:path&gt;
  &lt;con:error-handler&gt;true&lt;/con:error-handler&gt;
  &lt;/con:location&gt;
  &lt;/con:fault&gt;
  &lt;/soap:Detail&gt;
  &lt;/soap:Fault&gt;
  &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>So please help in resolving the issue.</p>