[
https://issues.apache.org/jira/browse/CXF-6116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Levente Kiss updated CXF-6116:
------------------------------
Component/s: JAX-WS Runtime
> memory leak in web service client with WS Addressing feature
> ------------------------------------------------------------
>
> Key: CXF-6116
> URL: https://issues.apache.org/jira/browse/CXF-6116
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime, WS-* Components
> Affects Versions: 3.0.2
> Reporter: Levente Kiss
> Labels: memory-leak
>
> The jax-ws web service client is causing serious memory leak if the
> WS-Addressing feature is enabled.
> Relevant spring configuration:
> {noformat}
> <jaxws:client id="wsClient"
> serviceClass="com.example.WebService"
> address="${service.url}" serviceName="s:WebService"
> xmlns:s="http://ServiceContracts/2014/11/WebService"
> endpointName="s:WebService"
> bindingId="http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true">
> <jaxws:features>
> <wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"
> />
> </jaxws:features>
> </jaxws:client>
> {noformat}
> Relevant client code:
> {noformat}
> @Autowired
> private WebService webServiceClient;
> private void callClient(){
> webServiceClient.doSomething();
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)