You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kang, Kamaljeet K." <Ka...@tellabs.com> on 2007/02/22 17:51:44 UTC
setOperationContext
Hi,
I would like to access service context on the skeleton side. I followed
the documentation ("http://wso2.org/library/259") and added
'setOperationContext(OperationContext opCtxt)' in the skeleton class but
the method is never called. Is this the correct way to access Context on
the server side?
Thanks
Kamal Kang
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: setOperationContext
Posted by Davanum Srinivas <da...@gmail.com>.
That's outdated!. please use MessageContext.getCurrentContext() from
inside your service method (when Axis2 calls your service method.)
thanks,
dims
On 2/22/07, Kang, Kamaljeet K. <Ka...@tellabs.com> wrote:
> Hi,
>
> I would like to access service context on the skeleton side. I followed
> the documentation ("http://wso2.org/library/259") and added
> 'setOperationContext(OperationContext opCtxt)' in the skeleton class but
> the method is never called. Is this the correct way to access Context on
> the server side?
>
>
> Thanks
>
> Kamal Kang
>
> ============================================================
> The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader
> of this message is not the intended recipient, or an employee
> or agent responsible for delivering this message to the
> intended recipient, you are hereby notified that any reproduction,
> dissemination or distribution of this communication is strictly
> prohibited. If you have received this communication in error,
> please notify us immediately by replying to the message and
> deleting it from your computer. Thank you. Tellabs
> ============================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org