AFAIK setting the property on the messageContext is the only way.

Thanks,
Keith

On 9/27/07, Todd Allen <[EMAIL PROTECTED]> wrote:
>
> Is there a preferred way to access the SOAP header elements from
> within the service class of an Axis2 web service?  I realize that the
> MessageContext can be obtained and a property set on it for later
> use.  However, it is preferable not to expose the MessageContext
> object in the service layer.
> Is there a better/different way to do this?
>
> I'm using Axis2 version 1.1.
>
> Thanks,
> Todd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to