AnsweredAssumed Answered

Http Client: How to get a specific Response header field value and reuse for a call back ?

Question asked by JulianRedwood1761 on Mar 9, 2015
Latest reply on Mar 10, 2015 by James Ahlborn
Hi, I have a requirements to integrate with KOHA (see for API details).
Initially I’m trying to POC the authentication component, simply authenticate and output the session id in a notification shape.
The authentication requirements are as follows:
  1. POST to the authentication URI with URL encoded parameters (userid and password), if valid then a session cookie is returned and a koha session is created
  2. Any subsequent calls the user needs to submit the same session cookie.
I can authenticate successfully, but cannot see the response header in Boomi or the session cookie
I have configured the HTTP Client Operation Response Header mapping as follows:
Response Header Field Name: Set-Cookie
Dynamic Document Property Name: SessionID
But, the Notify shape returns an empty value for DDP.  Document Property - Dynamic Document Property – SessionID
Logs for test run:  Parameter 1 value =
Below is a successful GET with response header and profile – using a Firefox plugin
Content-Type: application/json
 -- response --
200 OK
Date:  Tue, 10 Mar 2015 03:20:28 GMT
Server:  Apache/2.2.16 (Debian)
Vary:  User-Agent,Accept-Encoding
Content-Type:  text/xml; charset=ISO-8859-1
Content-Length:  89
Connection:  Keep-Alive
Content-Encoding:  gzip
Set-Cookie:  CGISESSID=a150c2f185d5f753fbedde91f8951f01; path=/; HttpOnly
<?xml version='1.0' standalone='yes'?>