Skip to Content
Former Member
Jul 29, 2014 at 01:44 PM

Acess "set-cookie" and set later in lookup in UDF?


Hello Experts,

I' have a senario where I need to get a session ID in order to handle a series of web service request. Therefore I have written a UDF in the mapping where the first method (as login message) where I get a login key as payload and the session-id in the response header. This session Id then needs to be set before several other calls within the same udf are made to the webservice. We are not able to use the Axis-adapter and therefore have to use the normal SOAP-adapter.

My question now is, is there any way to access the header of the first response message? I need to read the returned session-id and then write it to the other requests. Any idea?