• 2 replies
  • Latest Post - ‏2013-10-13T20:15:59Z by HermannSW
74 Posts

Pinned topic Header Injection Parameters

‏2013-10-11T19:37:31Z |

Quick and easy question.

Specifically on an MPG.  Can the value be a variable?  it seems to be static/literal field.  For example I want my variable to be: 'var://service/transaction-id' - for every request through that MPG.  So instead of adding a transformation to every rule, I want to inject header here.  Is this possible?

  • kenhygh
    2481 Posts

    Re: Header Injection Parameters


    sorry, it's a literal.

  • HermannSW
    7721 Posts

    Re: Header Injection Parameters


    Not sure that I understand the question fully.

    This is how you can set (HTTP) header variable:

          name=" 'tid' " value=" {dp:variable('var://service/transaction-id')} "/>

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>