Back to bug 999570

Who When What Removed Added
Alessio Soldano 2013-08-28 14:52:18 UTC Status NEW ASSIGNED
Alessio Soldano 2013-09-11 09:55:06 UTC Depends On 1006789
Alessio Soldano 2013-09-19 07:24:30 UTC Status ASSIGNED MODIFIED
Target Milestone --- ER3
Paul Gier 2013-09-25 00:38:50 UTC Status MODIFIED ON_QA
Petr Sakaƙ 2013-10-09 12:43:18 UTC Status ON_QA VERIFIED
Scott Mumford 2013-12-01 23:46:40 UTC CC asoldano, smumford
Doc Text It was found that having each CXF bus cache WSDL definitions for each address could be problematic if the cached data is superceded in a later deployment scenario.

To safeguard against the bus using outdated cache data, new functionality has been added to this release of JBoss EAP 6 which allows users to create a new bus:

Service service = Service.create(new URL(wsdlLocation), new QName(NAMESPACE, serviceName), new org.jboss.wsf.stack.cxf.client.UseNewBusFeature());

Resting the bus will ensure new WSDL definitions are used, avoiding the problem of incorrect values being used from the cache.
Flags needinfo?(asoldano)
Alessio Soldano 2013-12-02 13:57:48 UTC Flags needinfo?(asoldano)
Scott Mumford 2013-12-03 02:29:24 UTC Doc Text It was found that having each CXF bus cache WSDL definitions for each address could be problematic if the cached data is superceded in a later deployment scenario.

To safeguard against the bus using outdated cache data, new functionality has been added to this release of JBoss EAP 6 which allows users to create a new bus:

Service service = Service.create(new URL(wsdlLocation), new QName(NAMESPACE, serviceName), new org.jboss.wsf.stack.cxf.client.UseNewBusFeature());

Resting the bus will ensure new WSDL definitions are used, avoiding the problem of incorrect values being used from the cache.
This version of JBoss EAP 6 includes new functionality that allows users to create a JAXWS client within a new Bus, whose WSDL definition cache would be empty.

As WSDL definitions are cached within the Apache CXF Bus that is used for serving the JAXWS client being created, a stale definition could be used if a different WSDL is served at the specified URL and the same Bus is in use. This enhancement provides a means to avoid that scenario.

The new functionality is used as follows through the new *org.jboss.wsf.stack.cxf.client.UseNewBusFeature* JBossWS JAXWS Feature:
Service service = Service.create(new URL(wsdlLocation), new QName(...), new org.jboss.wsf.stack.cxf.client.UseNewBusFeature());
Doc Type Bug Fix Enhancement
mark yarborough 2013-12-15 16:23:17 UTC Status VERIFIED CLOSED
Resolution --- CURRENTRELEASE
Last Closed 2013-12-15 11:23:17 UTC
John Skeoch 2014-06-18 07:20:58 UTC CC nobody

Back to bug 999570