Hi Yes, you send a NewCookie but attempt to read it later on as Cookie. You should use NewCookie.valueOf(newCookieValue) to recreate it.
Can you please use one of Cookie constructors to convert NewCookie to Cookie ?
Or simply take the relevant value from this new cookie and send the name and value only which is what is expected really by the Cookie receiver.
Sergey On 24/02/16 17:58, cc75005++ wrote:
Sorry, now I understand your question.. please find,I think, the bad code that I use to create a new webclient to make the request : Thanks for your time -- View this message in context: http://cxf.547215.n5.nabble.com/JAX-RS-CookieHeaderProvider-with-httpOnly-cookie-doesn-t-work-tp5766083p5766290.html Sent from the cxf-user mailing list archive at Nabble.com.
-- Sergey Beryozkin Talend Community Coders http://coders.talend.com/