Hi,

updated CXF from 2.1.3 to 2.1.4. Changed nothing else and got the following
exception while loading springs app context:

Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.lang.Object
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception; nested
exception is org.apache.cxf.service.factory.ServiceConstructionException
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instan
tiate(SimpleInstantiationStrategy.java:127)
        at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsi
ngFactoryMethod(ConstructorResolver.java:435)
        ... 68 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
        at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:59)
        at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean
.java:102)
        at
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java
:115)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instan
tiate(SimpleInstantiationStrategy.java:115)
        ... 69 more
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for
the namespace http://schemas.xmlsoap.org/soap/http.
        at
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory
(DestinationFactoryManagerImpl.java:115)
        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(
AbstractWSDLBasedEndpointFactory.java:284)
        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abst
ractWSDLBasedEndpointFactory.java:146)
        at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
        ... 76 more

Similar issue is https://issues.apache.org/jira/browse/CXF-1637 but
cxf-rt-transports-http-2.1.4.jar is on classpath.

Regards
Dennis

Reply via email to