2

I had googled for this but havent got any conclusive answers

Is it possible to retrieve and set a cookie in the reponse for JAX-WS webservice ?

How can we maintain sessions in web service ?

Regards

oxygenan
  • 1,023
  • 2
  • 12
  • 21

1 Answers1

1

Getting and setting Cookies and Session in Webservice is Supported in JAX-WS. Follow the below link which will help you to enable this on server and Client side.

Programming Stateful JAX-WS Web Services Using HTTP Session

You may also have look at this answer JAX-WS client: maintain session/cookies across multiple services

subharb
  • 3,374
  • 8
  • 41
  • 72
Velu
  • 1,681
  • 1
  • 22
  • 26