Products | Versions |
---|---|
TIBCO KPSA - Mobile | - |
Not Applicable | - |
Resolution:
Description:
============
Sometimes you may need to specify your own HTTP headers when using the HTTP Session Layer. The following is an example of how to to that.
Environment:
===========
TIBCO® KPSA - Mobile 3.5+
TIBCO® KPSA - Broadband 3.5+
Resolution:
==========
You have to use the work order dataset parameters called "RequestHeaderNames" and "RequestHeaderValues". As they are string lists, the "FORMAT_LIST" commandeval command needs to be used. Each value has to be separated by a comma, as shown in the following example.
FORMAT_LIST:{RequestHeaderNames}=Content-Type,User-Agent,Authorization,Host
FORMAT_LIST:{RequestHeaderValues}=text/xml,KPSA/3.4/1.0,Basic c3VwZXJ1c2VyOjNzdXBlcjI5dXNlcg== ,195.26.137.186:10010