How to forward all HTTP headers as well as Query String, from a Facade Request to a Target Request?

How to forward all HTTP headers as well as Query String, from a Facade Request to a Target Request?

book

Article ID: KB0085875

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
This article describes a known issue with forwarding all headers in TIBCO API Exchange Gateway(APIX-G)

Symptoms:
Setting the value of:
 "{query_string},*"
for the field:
 'Headers to Forward' in the Target Operations tab  does not forward all the headers, but only the query string to the Target Service.

Cause:
.

Issue/Introduction

How to forward all HTTP headers as well as Query String, from a Facade Request to a Target Request?

Resolution

To setup APIX-G to forward both query string as well as all HTTP headers to the Target Service, setup the following value:
*,{query_string}
for the field "Headers to Forward" in the Target Operations tab.

Note:
--------
To forward specific HTTP headers to the Target Service, setting up either of the following values works:
<header_name1>,<header_name2>,{query_string}
or
{query_string},<header_name1>,<header_name2>