Forum Discussion

nrjsingh167's avatar
11 years ago

How to transfer values from one web service to all.

I want to transfer session id from log in web service to all other web services

My log web service gives response like this.

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=63266916;public;must-revalidate;
Pragma: no-cache
Expires: Sun, 07 Aug 2016 09:45:11 GMT
sessionValid: false
X-UA-Compatible: IE=8
Set-Cookie: JSESSIONID=BE09ADF081CCC89BFC701273466682A4; Path=/apac-auto-ems-1/; Secure; HttpOnly
Set-Cookie: username=""; Expires=Fri, 05-Sep-2014 03:36:35 GMT
Set-Cookie: loginInfo=ISV; Expires=Fri, 05-Sep-2014 03:36:35 GMT
Set-Cookie: JSESSIONID=BE09ADF081CCC89BFC701273466682A4; Path=/apac-auto-ems-1
Set-Cookie: checked=unchecked; Expires=Fri, 05-Sep-2014 03:36:35 GMT
Content-Type: application/xml;charset=UTF-8
Content-Language: en-US
Content-Length: 151
Date: Wed, 06 Aug 2014 03:36:35 GMT

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<sessionId>BE09ADF081CCC89BFC701273466682A4</sessionId>
<stat>ok</stat>
</Response>


All other web services will depend on this.So I want to pass it all web services.

Please help me to do so.