Re: [Resteasy-users] Automatic Cookie Passing

2012-11-22 Thread Saravanabavagugan Vengadasundaram
Hi Bill, Thanks for the help. The following code segment after checking the TwitterClient example in the resteasy distribution worked for me. The idea is to reuse the same underlying client executor for both the login service and business service. This indirectly means that the same http client

Re: [Resteasy-users] Automatic Cookie Passing

2012-11-17 Thread Bill Burke
You'll have to configure the underlying Apache Http client 4 DefaultHttpClient. Javadoc should give you an idea. On 11/17/2012 2:11 AM, Saravanabavagugan Vengadasundaram wrote: Hello All, I am using the RESTEasy client framework for testing my web services. I have a login API that

[Resteasy-users] Automatic Cookie Passing

2012-11-16 Thread Saravanabavagugan Vengadasundaram
Hello All, I am using the RESTEasy client framework for testing my web services. I have a login API that accepts user credentials and creates a session cookie. Subsequent to the call to this API, I can call other APIs in my system which will expect the session cookie to be passed back. I have