Thank you for clarifying that, Deepal. Yes, it is a pretty simple way to store the values just inside the ConfigurationContext.
But am I not running into problems when two clients are using the same service. They would use the same ConfigurationContext, wouldn't they? That way values from different sessions could be mixed up. If it is not that way, I'd be happy to take the ConfigurationContext. But I can't imagine how Axis should figure out which call belongs to which session without a corresponding session id. Thank you for any help, Matthias. > -----Ursprüngliche Nachricht----- > Von: Deepal jayasinghe [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 4. Dezember 2008 17:03 > An: [email protected] > Betreff: Re: AW: Multiple services.xml, one serviceGroup > > > > Deepal, > > Thank you for your answer. > > > > Is Axis2 supporting me somehow if I want to maintain the session via > the configuration context? > > > Yes , you do not need to do anything other than storing your data in > the > configuration context. > > Do I then have to set a SOAP-Header with a session id myself? > > Isn't there only one configuration context per webapplication? > > > When you store something in the configuration context you do not need > the session ID , except the key of the value you store is the session > ID. > > I could think of possible solutions with the configuration context, > but this would mean, that I have to implement the session handling all > by myself. Am I missing something out? > > > > > Nope , just store your values there and access whenever you need that. > > Thank you! > Deepal > > Thanks, > > Matthias. > > > > > >> -----Ursprüngliche Nachricht----- > >> Von: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] > >> Gesendet: Mittwoch, 3. Dezember 2008 16:32 > >> An: [email protected] > >> Betreff: Re: Multiple services.xml, one serviceGroup > >> > >> > >> > >>> Hi, > >>> > >>> > >>> > >>> I am implementing session-based web services. We use the > >>> servicegroup-based session. > >>> > >>> > >>> > >>> Since I have a lot of services, I want to have single services.xml > >>> files for each service. But in order to have them share the same > >>> session, I must have them in the same serviceGroup. > >>> > >>> > >>> > >>> Is it possible to have services in different services.xml but still > >>> > >> in > >> > >>> the same servicegroup?? > >>> > >>> > >> Unfortunately no, only the services in one service group can shares > the > >> sessions in a given session.However you can maintain the session > using > >> configuration context, then you can maintain session without even > >> thinking about soap or transport session. > >> > >> Deepal > >> > >>> > >>> Thank you for your help, > >>> > >>> Matthias. > >>> > >>> > >>> > >>> > >> -- > >> Thank you! > >> > >> > >> http://blogs.deepal.org > >> > >> > >> -------------------------------------------------------------------- > - > >> 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] > > > > > > > > > -- > Thank you! > > > http://blogs.deepal.org > > > --------------------------------------------------------------------- > 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]
