Hi,
I have an issue with a cxf clientproxy.
I am producing my stub like this:
InventoryServicePortType getInventoryServicePortType() {
if (LOG.isDebugEnabled()) {
LOG.debug("Producing InventoryServicePortType....");
}
JaxWsProxyFactoryBean jaxWsProxyFactoryBean = new
JaxWsProxyFactoryBean();
jaxWsProxyFactoryBean.setServiceClass(InventoryServicePortType.class);
jaxWsProxyFactoryBean.setAddress(CiscoConstants.CISCO_INVENTORYSERVICE_ADDRESS);
InventoryServicePortType service = (InventoryServicePortType)
jaxWsProxyFactoryBean.create();
Client client = ClientProxy.getClient(service);
configureClient(client);
return service;
in embedded tests it's all ok.
running using tomee-maven-plugin:
LinkageError: loader constraint violation: when resolving method
"org.apache.cxf.frontend.ClientProxy.getClient(Ljava/lang/Object;)Lorg/apache/cxf/endpoint/Client;"
the class loader (instance of
org/apache/openejb/util/classloader/URLClassLoaderFirst) of the current
class, org/waastad/navcisco/producer/SoapProducers, and the class loader
(instance of org/apache/catalina/loader/StandardClassLoader) for resolved
class, org/apache/cxf/frontend/ClientProxy, have different Class objects for
the type )Lorg/apache/cxf/endpoint/Client; used in the signature
Any comments?
running 1.7.0
br hw
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/cxf-issue-tp4671552.html
Sent from the TomEE Users mailing list archive at Nabble.com.