Re: [AXIS2] Using OperationContext in a web services implementation class

2007-01-29 Thread Deepal Jayasinghe
Yes you can do the following; MessageContext msgCtx = MessageContext.getCurrentMessageContext(); msgCtx.getOperationContext(); Thanks Deepal Hi all, Is it possible to access the OperationContext in a services implementation class? Thanks in advance Regards, Vasil -- Vasil Benov,

Re: [AXIS2] Using OperationContext in a web services implementation class

2007-01-29 Thread Vasil Benov
Thanks Deepal, Regards, Vasil On 1/29/07, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Yes you can do the following; MessageContext msgCtx = MessageContext.getCurrentMessageContext(); msgCtx.getOperationContext(); Thanks Deepal Hi all, Is it possible to access the OperationContext in a

RE: [AXIS2] Using OperationContext in a web services implementation class

2007-01-29 Thread Kent Schmidt
If your service implementation class specified in your *.aar file has a method setOperationContext, that method will be called automatically with the Operation Context. I simply do public void setOperationContext(org.apache.axis2.context.OperationContext pOperationContext) {

Re: [AXIS2] Using OperationContext in a web services implementation class

2007-01-29 Thread Deepal Jayasinghe
Hi Kent ; We changed Axis2 logic in 1.1 release and we are no longer call that method, if you want to access message context then you need to call MessageContext.getCurrentContext(); Thanks Deepal If your service implementation class specified in your *.aar file has a method