SOA Spring Framework sends only a single Java JAXB SOAP Header in the request

(Doc ID 1989980.1)

Last updated on JULY 14, 2015

Applies to:

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


On : version, BPEL Service Engine

When an external service is called from a Spring component with multiple parameters (WebParams with header=true) only the last parameter is getting added into the header. Previous headers are getting removed or overwritten. For eg.


Application code is inserting 2 parameters in SOAP Header (named AppParameters & sessionParams) and the message sent is only with single header as below).

- <env:Envelope xmlns:env="" xmlns:wsa="">
- <env:Header>
- <SessionMaintainParams xmlns="" xmlns:xsi="">


In the above, only one header was added and AppParameters was missing.

Spring framework should handle multiple parameters and add all of them. For eg.

- <env:Envelope xmlns:env="" xmlns:wsa="">
- <env:Header>
- <AppParameters xmlns="" xmlns:xsi="">
- <SessionMaintainParams xmlns="" xmlns:xsi="">


In the above, both parameters are present (all n parameters should present not just one parameter).


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