My Oracle Support Banner

SOA REST Adapter Ignores Header Value Change (Doc ID 2827148.1)

Last updated on JANUARY 07, 2022

Applies to:

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


We are using REST adapter from BPEL and we need to set some custom headers during invocation. It works fine for most of them except "Accept" header. We need to set the value to "application/vnd.dsl.v3+json" however in the request itself this value is always defaulted to "application/json".

The issue can be reproduced at will with the following steps:
1. Create SOA Composite with BPEL process and REST Service adapter (HTTP Verb POST)
2. In BPEL in the invoke activity for the REST service go to Properties tab
3. Add "to properties" value: rest.binding.http.Accept value "application/vnd.dsl.v3+json"
4. Create instance and verify on the REST service the headers. The value for "Accept" will be set to "application/json" instead of "application/vnd.dsl.v3+json"


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.