Adding the cxf-rt-transports-http-jetty jar onto the classpath should fix this. We did a bit of work to try and reduce dependencies pulled in from maven when they aren't really needed to reduce the size of applications and such.
The question is, why is it needed here? You are creating a client, but it's asking for a DestinationFactory, which is a server side thing. I'll try and dig into that a bit today, but for now, adding the http-jetty jar should get you moving. Dan On Wed February 11 2009 5:43:12 am Dennis Kieselhorst wrote: > 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.insta >n tiate(SimpleInstantiationStrategy.java:127) > at > org.springframework.beans.factory.support.ConstructorResolver.instantiateUs >i 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(ClientProxyFactoryBea >n .java:102) > at > org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.jav >a > > :115) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9 ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l .java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.insta >n 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.getDestinationFactor >y (DestinationFactoryManagerImpl.java:115) > at > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo >( AbstractWSDLBasedEndpointFactory.java:284) > at > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abs >t 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 -- Daniel Kulp [email protected] http://www.dankulp.com/blog
