You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by hunter <gr...@gmail.com> on 2015/06/16 12:44:07 UTC

Re: JaxWsClientProxy responseContext memory leak - any suggestions?

Is there any way to get the responseContext when using jaxws:client in spring
?



--
View this message in context: http://cxf.547215.n5.nabble.com/JaxWsClientProxy-responseContext-memory-leak-any-suggestions-tp5752686p5758319.html
Sent from the cxf-user mailing list archive at Nabble.com.

RE: JaxWsClientProxy responseContext memory leak - any suggestions?

Posted by Andrei Shakirin <as...@talend.com>.
Hi,

Casting to javax.xml.ws.BindingProvider makes the trick:
Map<String, Object> context = ((javax.xml.ws.BindingProvider) customerService).getResponseContext();

Regards,
Andrei.

> -----Original Message-----
> From: hunter [mailto:grijesh.rajoria@gmail.com]
> Sent: Dienstag, 16. Juni 2015 12:44
> To: users@cxf.apache.org
> Subject: Re: JaxWsClientProxy responseContext memory leak - any suggestions?
> 
> Is there any way to get the responseContext when using jaxws:client in spring ?
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/JaxWsClientProxy-responseContext-memory-
> leak-any-suggestions-tp5752686p5758319.html
> Sent from the cxf-user mailing list archive at Nabble.com.