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 Deepal Jayasinghe <de...@opensource.lk> on 2008/04/01 06:25:04 UTC
Re: setOperationContext Dependency Injection not working
Hi mikle ,
Yes we have removed that method , now you can access the messagecontext
as follow;
MessageContext msgCtx =MessageContext.getCurrentMessageContextContext();
Thank you!
Deepal
> I need to access the messageContext to access the certificate authentication
> details.
>
> The prob is that setOperationContext is not being called as described here:
> http://www.mail-archive.com/axis-user@ws.apache.org/msg13070.html
> http://wso2.org/library/259
> http://www.developer.com/services/print.php/10928_3613896_2
>
> public void setOperationContext(OperationContext opctx)
> throws AxisFault {
> System.out.println("xxx");
> msgCtx = opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
> }
>
> do i need to enable something for this work?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org