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, <brando.argue...@gdc4s.com> 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:au...@aunts.de]
> *Sent:* Friday, January 13, 2012 11:04 AM
> *To:* java-user@axis.apache.org
> *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****
>
> ** **
>

Reply via email to