Small information about sessions.
The are initiated by a call in the client by setting context property
javax.xml.ws.session.maintain 10.4.1.4
The are handled in the server hander SimpleSessionHandler, and the
providers JavaProvider are session aware so if there is a session with
the soap request then the same "ServiceObject" is invoked.
I would not recommed to manipulate the httpsession (as as servlet
programmer) your web service architecture drops you in your codesite.
access the MessageContext and get the Session from that is you
absolutley have to.
Jana Poornavel wrote:
hi all,
is there any more samples which can used to understand maintaining
state.for e.g maintaining the state information in HTTPSession ,which
would be of great help
regards
jana
Deepal Jayasinghe wrote:
Hi Maze;
Lo�c MAZE wrote:
Hi all,
I'm a beginner with Axis 2 and I would like to know how to create a
session and insert data in it. I�m especially interested in SOAP
sessions.
I've spent several hours on this mailing but I�ve found absolutely
nothing about that.
Can somebody supply a concrete example of axis session ? Any
information in this regard will be highly appreciated.
Well Axis2 has four types of sessions called;
- request
- soap session
- application
- transport
yes we dont have enough documentation to explain the session management
stuff and we dont have enough either. We have only one sample and test
case which uses SOAPsession management.
- Calculator sample uses soap session management
- org.apache.axis2.engine.ServiceGroupContextTest
Best regards,
Lo�c
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]