camel-cxf no-pojo consumer
mlabrot Mar 4, 2011 3:20 PMI want to host a web service in FUSE ESB 4.3.1 using just a WSDL file and the CXF camel component (camel-cxf). Here is my simple XML config file (drop it into deploy/):
<camel:from uri="cxf://0.0.0.0:9001/CxfTest?wsdlURL=file:examples/cxf-ws-rm/src/main/resources/HelloWorld.wsdl&dataFormat=PAYLOAD&serviceName=HelloWorldImplService&portName=HelloWorldImplPort" />
(CxfConsumer.java:251)[202:org.apache.camel.camel-cxf:2.6.0.fuse-00-00]
at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:127)[202:org.apache.camel.camel-cxf:2.6.0.fuse-00-00]
at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:61)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:75)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.RouteService.warmUp(RouteService.java:118)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1803)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1729)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1528)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1420)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1321)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:164)[75:org.apache.camel.camel-spring:2.6.0.fuse-00-00]
at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1299)[68:org.apache.camel.camel-core:2.6.0.fuse-00-00]
at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)[75:org.apache.camel.camel-spring:2.6.0.fuse-00-00]
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)[75:org.apache.camel.camel-spring:2.6.0.fuse-00-00]
... 10 more
Help?