This is not easy to do. The client instances are specifically designed to be somewhat independent. You are PROBABLY going to have to do some Cookie management yourself. Basically, from the AuthenticationService client, get the ResponseContext from it and get the protocol headers from it and find the Set-Cookie protocol header. On the other clients, you'll need to get the ReqeustContext and get (possibly create) the protocol headers map and add the approriate cookie.
Dan On Thursday 17 April 2008, Ulrike wrote: > Currently I’m using CXF for accessing some Seam (stateful) services. I > managed it to maintain session state of one service (I’ve set the > SESSION_MAINTAIN_PROPERTY to true), but I need some further help with > different services using the same session. > A usual scenario would be following: > > • a registered user logs in (name, pwd) – AuthenticationService > • invokes some methods of Service A > • same with other methods of Service B > • … > • user logs out - AuthenticationService > > How can different services share the same session till timeout? -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
