Wednesday, August 28, 2019

OSB - How to pass Authorization header from Pipeline



Step 1: Drag and drop assign activity.

Double click assign activity and give expression.
Note: This is input variable ($body/ttur:RequestReportName/ttur:accessToken)

Step 2: Create one variable and mention in variable part.


Step 3: Drag and drop Transport Header in inside service callout.

Double click Transport Header and select direction.

Step 4: Create one Authorization header name and give expression.

Step 5: Give expression.
Note: (Expression: fn:concat('Bearer ',$varAccessToken))
varAccessToken is variable.


No comments:

Post a Comment

Featured Post

OIC - How to Add Blank Spaces When Creating Fixed-Length Files using javascript

Use Case: When building integrations in Oracle Integration Cloud (OIC) , you might need to generate fixed-length flat files . In such files...