Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to store login information during ws calls
Joined: Aug 08, 2010
Jul 11, 2012 03:24:14
I need help on the following:
I'm to write a Java Web-Service using JAX-WS but the clients might not be written in Java.
The ws has a
and my question what is the best way to maintain if user is logged in?
Should I store this information in HTTP session or should client provide it on every ws call?
If I store user data in a session will it break the stateless status of a ws?
Joined: Apr 07, 2010
Jul 12, 2012 01:24:58
Yes peter you can either set this value in session or you can add this value with ws calls as an parameter with the service call.
It is sorta covered in the
JavaRanch Style Guide
subject: how to store login information during ws calls
WS Advanced Edition 4.0.3 and session storage
Creating an HTTP Header
Session timeout in different JVM
how 2 servlets communicates
Session within session
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013