Currently Wise does not directly deal with Apache CXF Bus setup when invoking the jbossws-cxf tooling and when performing the actual jaxws client invocation. This has the side effect of letting the the wsconsume tooling code rely on the cxf default bus, which is both a scalability issue (every wsdl model piles up in the default bus, consuming more and more memory that is never released) and a logic problem (when different wsdl with the same url are consumed, perhaps because the corresponding endpoint has been updated).
We need to create a new Bus instance when building the WSDynamicClient and associate it to the current thread during tool invocations; finally cleanup it when the client is destroyed.
- is related to
-
JBIDE-14739 Generated JBoss WS SOAP message is invalid
- Closed