SOA 11.1.1.7 - How to Pass a Custom HTTP Header to an Outbound REST Service from a BPEL 2.0 Process (Doc ID 2026069.1)

Last updated on NOVEMBER 16, 2016

Applies to:

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

Goal

In SOA 11.1.1.7.6 you want to invoke a RESTful web service using POST, but it will need a custom HTTP header (x-express-apiversion : 2.1) to be passed. 

You are able to test it in SOAP UI tool by setting the custom HTTP header, and want to do the same in a BPEL 2.0 process using the HTTP Binding Adapter, however, it appears there is no way to set the custom HTTP header for invoking the service. 

Solution

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