You can get the current message via:

PhaseInterceptorChain.getCurrentMessage()

That can work around the issue until it can be fixed.   That said, a  patch 
that fixes the issue would be quite welcome.

Dan




On Tuesday, May 15, 2012 05:55:27 PM Penmatsa, Vinay wrote:
> Hi,
> I just upgraded to 2.6 from 2.4.1
> I had a custom UsernameTokenValidator where I override
> verifyDigestPassword(UsernameToken usernameToken, RequestData data).
> Within that I had the following code to get access to request object.
> 
> #######
> SoapMessage soapMsg = (SoapMessage)data.getMsgContext();
> HttpServletRequest request =
> (HttpServletRequest)soapMsg.get(AbstractHTTPDestination.HTTP_REQUEST);
> #######
> 
> 
> In 2.6, soapMsg is null. Is there any other way I can get the
> HTTP_REQUEST?
> 
> 
> Regards,
> Vinay
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to