DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Header Insertion for Datapower Async Results Action

  • 1.  Header Insertion for Datapower Async Results Action

    Posted Tue December 03, 2024 09:34 AM

    Dears,

    Is there anyway we can inject multiple Headers to a destination in Datapower Async Results Action through Gateway Script.

    There is a way to do it through XSLT using the var://context/ExmpConext/_extension/header/HeaderName in XSL. Please let me know how can this be achieved in Gateway Script.



    ------------------------------
    R K
    ------------------------------


  • 2.  RE: Header Insertion for Datapower Async Results Action

    Posted Wed December 04, 2024 10:08 AM

    Please try:

    var hm = require('header-metadata');
    hm.current.set('HeaderName', 'foobar');



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen
    ------------------------------