When Using Mediator and Propagating a SOAP Header to the Routed Service You Receive the Error: ORAMED-01001 - Error In Assigning Soap Header In Assign Expression (Doc ID 1331488.1)

Last updated on OCTOBER 01, 2014

Applies to:

Oracle SOA Platform - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms


You have an installation of Oracle Fusion Middleware 11g Release 1 Patchset 3 (11.1.1.4.0) where you are developing a composite that utilizes a Mediator component to receive a request and route to a BPEL component.

The service definitions (WSDL's) for both the input message received at Mediator and input message that will be received by the BPEL process both contain the same SOAP header and as part of your implementation you would like to propagate the SOAP header value in the input received by Mediator to the message being routed into BPEL.

You are able to use JDeveloper to develop and deploy the composite successfully, however at run-time the an error similar to the following is encountered when the mediator component is invoked:

ORAMED-01001:[Error in assign operation] Error occurred while assigning to target "$out.header.ns2_ETH_HEADER" using expression "$in.header.ns2_ETH_HEADER".
Possible Fix:Check if source message has right values or source expression is valid.
Cause:Variable not defined: 'in.header.ns2_ETH_HEADER'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms