Forums Register Login

Session management in java client

+Pie Number of slices to send: Send
I have a web service written in C# where all the methods I'm exposing are prefaced with [WebMethod(EnableSession = true)] which, as far as I know, is all I need to enable a session on the .NET side of things. My problem is that I don't know what I need to do to enable session management in the Java client. I used the built-in tools in Eclipse Kepler to build a Java proxy client. Since the project requires me to login to an Exchange server and create a runspace, I would prefer not to include recreate that runspace functionality in every exposed method. Can anyone tell me how I implement session management on my proxy client or do I have to build some other kind of client?

Thanks,

Rob Tanner
Linfield College
+Pie Number of slices to send: Send
That is certainly going to depend on how your web service implements "sessions" isn't it?

One possibility would be with HTTP "cookies" - assuming the service is RESTful style.

Bill

Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 428 times.
Similar Threads
External JMS System access
Webservices and Request/Response
what is "Proxy"?
Client SSL Proxy to enable replay attack..
Invalidating Session Only in IE5.5
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:24:09.