org.apache.cxf.service.factory.ServiceConstructionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SOAP Document Binding and CORBA Binding
    via by Lukas Zapletal,
  • Re: SOAP Document Binding and CORBA Binding
    via by Lukas Zapletal,
  • Deploying a Service Assemlby with cxf-se and cxf-bc consumer service units is not working. The same Service Assembly is working fine in 3.4 and 4.0.0.4 versions. Service Assembly attached. Stack trace below NOTE: Unable to run top down web service. Attached deployed topdown project. javax.jbi.JBIException: java.lang.Exception: Error deploying SU cxf-bcc-SOAPService at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:101) at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:354) at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:284) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382) at org.apache.felix.framework.Felix.startBundle(Felix.java:1517) at org.apache.felix.framework.Felix.updateBundle(Felix.java:1703) at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:788) at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:775) at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:540) at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:299) at org.apache.servicemix.kernel.filemonitor.FileMonitor$1.filesChanged(FileMonitor.java:151) at org.apache.servicemix.kernel.filemonitor.Scanner.reportBulkChanges(Scanner.java:431) at org.apache.servicemix.kernel.filemonitor.Scanner.reportDifferences(Scanner.java:327) at org.apache.servicemix.kernel.filemonitor.Scanner.scan(Scanner.java:261) at org.apache.servicemix.kernel.filemonitor.Scanner$1.run(Scanner.java:221) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.Exception: Error deploying SU cxf-bcc-SOAPService at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:210) at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85) ... 19 more Caused by: javax.jbi.management.DeploymentException: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http. at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:519) at org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58) at org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55) at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:97) at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88) at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:100) at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:204) ... 20 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.endpoint.ServerImpl.initDestination(ServerImpl.java:85) at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:58) at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:513) ... 27 more
    via by Ravi Sankar,
  • Packaging camel project with cxf jars
    via Stack Overflow by user1555517
    ,
  • Missing cxf.xml? Fails in maven, works in Eclipse
    via Stack Overflow by Matt
    ,
    • org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:125) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167) at com.unitedcoders.demo.Client.main(Client.java:20) 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.endpoint.ServerImpl.initDestination(ServerImpl.java:85) at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106) ... 2 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,