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 Matthew Roberts <mr...@melcoe.mq.edu.au> on 2007/09/27 07:16:29 UTC
setOperationContext not being called
Hi,
As I understand it, if you have a
public void setOperationContext(OperationContext operationContext)
throws AxisFault
function in your
XXXSkeleton.java file, then that function is automatically called on
startup.
However, I have done this in my code and the function is just not
being called. Tried restarting tomcat - no good. There is another
web service running on the same tomcat that *does* have its
setOperationContext called.
Am I missing something obvious?
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: setOperationContext not being called
Posted by Deepal jayasinghe <de...@gmail.com>.
Now we have remove that method , please use
MessageContext.getCurrentContext();
inside your method if you want to access the message context , and from
that you can get the operation context.
Thanks
Deepal
> Hi,
>
> As I understand it, if you have a
>
> public void setOperationContext(OperationContext operationContext)
> throws AxisFault
>
> function in your
>
> XXXSkeleton.java file, then that function is automatically called on
> startup.
>
> However, I have done this in my code and the function is just not
> being called. Tried restarting tomcat - no good. There is another
> web service running on the same tomcat that *does* have its
> setOperationContext called.
>
> Am I missing something obvious?
>
> Matt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org