I think this is what I'm looking for. Thanks. ________________________________
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: mar 31/05/2005 16:07 Para: [email protected] Asunto: RE: Question about handlers You are right on target, from your XXXBindingImpl class you can access the current request's MessageContext by calling the static method MessageContext.getCurrentContext(). From there all information that the handlers have added into the MessageContext will be available. Underneath the hood, MessageContext.getCurrentContext() refererences a ThreadLocal instance of MessageContext that is maintained by the AxisEngine. Hope this helps, Al Quoting Mark Ford <[EMAIL PROTECTED]>: > You can pass information between handlers in the chain using the > MessageContext, but I don't see how you could pass information directly to > the service endpoint class. A workaround would be to install a custom > handler in the chain and have this handler set the credentials or other > information on a static class with a ThreadLocal that you could then read > from your endpoint. > > -----Original Message----- > From: Garzon Maldonado, Jesus Javier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 31, 2005 6:14 AM > To: [email protected] > Subject: Question about handlers > > Hello all, > > Is there any way to pass data from handlers to service implementations?, > (that is, XXXBindingImpl classes) > > For example, a handler perform user authentication and service > implementation needs that user to login a database. > > Thanks. > > Javi Garz�n > >
<<winmail.dat>>
