Hi Lars, Did you use Servlet transport for the camel-cxf endpoint? Or did you deploy camel route into a application server as a war? I think you may need to add these lines into the spring configuration file. <import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
Willem Lars Ivar Igesund wrote: > Yes, > > I was able to find out that that was a possible cause, but as far as I can > tell it is there. > > Best, > Lars Ivar > > Fredag 9. januar 2009 01:20:22 skreiv William Tam: >> Is this artifact in your classpath? >> >> <groupId>org.apache.cxf</groupId> >> <artifactId>cxf-rt-bindings-soap</artifactId> >> >> On Thu, Jan 8, 2009 at 6:53 PM, Lars Ivar Igesund <larsi...@igesund.net> > wrote: >>> Hi! >>> >>> With the help of Willem and Claus I was able to create a web service via >>> camel-cxf. It works good on my local machine, but when I deployed the >>> application to the server I got the following failure: >>> >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: >>> org.apache.cxf.service.factory.ServiceConstructionException: Could not >>> resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/ >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInf >>> o(AbstractWSDLBasedEndpointFactory.java:310) INFO | jvm 1 | >>> 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.cxf.jaxws.JaxWsServerFactoryBean.createBindingInfo(JaxWsServer >>> FactoryBean.java:154) INFO | jvm 1 | 2009/01/09 00:18:26 | >>> WrapperSimpleApp: at >>> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointIn >>> fo(AbstractWSDLBasedEndpointFactory.java:178) INFO | jvm 1 | >>> 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(A >>> bstractWSDLBasedEndpointFactory.java:102) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:1 >>> 14) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean >>> .java:164) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: >>> at >>> org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:109) >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.jav >>> a:77) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenCon >>> sumerRoute.java:62) INFO | jvm 1 | 2009/01/09 00:18:26 | >>> WrapperSimpleApp: at >>> org.apache.camel.Route.getServicesForRoute(Route.java:73) >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.impl.DefaultCamelContext.startRoutes(DefaultCamelContext >>> .java:555) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: >>> at >>> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.jav >>> a:530) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.jav >>> a:149) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47) INFO >>> | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamel >>> Context.java:103) INFO | jvm 1 | 2009/01/09 00:18:26 | >>> WrapperSimpleApp: at >>> org.springframework.context.event.SimpleApplicationEventMulticaster$1.run >>> (SimpleApplicationEventMulticaster.java:78) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.j >>> ava:49) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.springframework.context.event.SimpleApplicationEventMulticaster.multi >>> castEvent(SimpleApplicationEventMulticaster.java:76) INFO | jvm 1 | >>> 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> org.springframework.context.support.AbstractApplicationContext.publishEve >>> nt(AbstractApplicationContext.java:275) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> org.springframework.context.support.AbstractApplicationContext.finishRefr >>> esh(AbstractApplicationContext.java:737) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> org.springframework.context.support.AbstractApplicationContext.refresh(Ab >>> stractApplicationContext.java:384) INFO | jvm 1 | 2009/01/09 00:18:26 >>> | WrapperSimpleApp: at >>> org.springframework.context.support.ClassPathXmlApplicationContext.<init> >>> (ClassPathXmlApplicationContext.java:139) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> org.springframework.context.support.ClassPathXmlApplicationContext.<init> >>> (ClassPathXmlApplicationContext.java:83) INFO | jvm 1 | 2009/01/09 >>> 00:18:26 | WrapperSimpleApp: at >>> com.bsc.alertmanager.hub.Hub.main(Hub.java:9) >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>> :39) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>> mpl.java:25) INFO | jvm 1 | 2009/01/09 00:18:26 | WrapperSimpleApp: >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> >>> >>> I hope you can give me further help on this. >>> >>> Best, >>> Lars Ivar Igesund > >