Dear all, thanks .. I already tried to get the MessageContext as well. Does not work, it's null.
Any other idea? Any other way to get access to some objects which are set by ServiceLifeCycle at startup? Thank Andre On Fri, Jan 13, 2012 at 5:28 PM, <[email protected]> wrote: > Andre,**** > > ** ** > > I agree with Sagara regarding the purpose of CallbackHandler , > http://wso2.org/library/3733 **** > > ** ** > > But I would think that line below should give you the > configurationContext. **** > > ** ** > > *org.apache.axis2*.context.ConfigurationContext configurationContext = > MessageContext.getCurrentMessageContext().getConfigurationContext()**** > > ** ** > > Regards.**** > > Brando**** > > ** ** > > ** ** > > ** ** > > *From:* André Spielmann [mailto:[email protected]] > *Sent:* Friday, January 13, 2012 11:04 AM > *To:* [email protected] > *Subject:* Rampart - CallbackHandler**** > > ** ** > > Hello all,**** > > ** ** > > for using WS-Security functionality with rampart modul in Axis2, we have > written a CallbackHandler class, simliar too the one explained here, > http://wso2.org/library/3733.**** > > ** ** > > Question: Is there any way to get access to ServiceContext or AxisService > in CallbackHandler class???**** > > ** ** > > Thanks so much**** > > Regards**** > > Andre**** > > ** ** >
