How to Pass SOAP headers through a Mediator

In the Oracle SOA Suite, the Mediator component will, by default, strip the SOAP headers from a message. Changing that behaviour is quite simple though and can sometimes be really useful.

Example configuration snippet

To change the behaviour just add the following property to you Mediator components in your composite.xml from:

<component name="MediatorName">
<implementation.mediator src="MediatorName.mplan"/>
</component>

To:
<component name="MediatorName">
<implementation.mediator src="MediatorName.mplan"/>

  <property name="passThroughHeader">true</property> </component>

That's it! Your SOAP headers should now be passed through the mediator.