import javax.ws.rs.core.Response;  response is an instance of this the problem 
is even in the headers im not getting the cross domain cookies whereas it comes 
in Rest client

Thanks

-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]] 
Sent: Monday, January 19, 2015 4:07 PM
To: [email protected]
Subject: Re: Issues to retreive cross domain cookies

Hi
On 19/01/15 10:12, Khare, Aparna wrote:
> Hello Users,
>
>     I have a requirement where I want to retrieve the cross domain cookies.
>
> When I do response.getCookies() .I'm getting  {path=path=/;Version=1} and not 
> the proper domain name.
>
> I have a proxied API which I'm testing .I'm getting the proper response with 
> Get but I also need the cookies because this is used for some
> Authentication when I do a POST to the same proxied API.
>
>

Is 'response' an instance of JAX-RS Response class ?
If so, can you use Response.getHeaders() and check what are the actual 
values of Set-Cookie headers ?

Cheers, Sergey

> Can some help how cross domain cookies are retrieved with apache cxf.
> Thanks,
>
>

Reply via email to