jboss - org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http/ -
in wsdl-file have following line:
when deploy webapplication (on jboss 5.1.0) , try access wsdl following exception:
org.apache.cxf.busexception: no destinationfactory found namespace http://schemas.xmlsoap.org/soap/http/. org.apache.cxf.transport.destinationfactorymanagerimpl.getdestinationfactory(destinationfactorymanagerimpl.java:115) org.apache.cxf.endpoint.serverimpl.initdestination(serverimpl.java:85) org.apache.cxf.endpoint.serverimpl.<init>(serverimpl.java:69) org.apache.cxf.frontend.serverfactorybean.create(serverfactorybean.java:118) org.apache.cxf.jaxws.jaxwsserverfactorybean.create(jaxwsserverfactorybean.java:167) org.apache.cxf.jaxws.endpointimpl.getserver(endpointimpl.java:346) org.apache.cxf.jaxws.endpointimpl.dopublish(endpointimpl.java:259) org.apache.cxf.jaxws.endpointimpl.publish(endpointimpl.java:209) org.apache.cxf.jaxws.endpointimpl.publish(endpointimpl.java:404) sun.reflect.nativemethodaccessorimpl.invoke0(native method) sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) java.lang.reflect.method.invoke(method.java:597) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokecustominitmethod(abstractautowirecapablebeanfactory.java:1413) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokeinitmethods(abstractautowirecapablebeanfactory.java:1374) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1334) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:473) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory$1.run(abstractautowirecapablebeanfactory.java:409) java.security.accesscontroller.doprivileged(native method) org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:380) org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:264) org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:221) org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:261) org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:185) org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:164) org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:429) org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:729) org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:381) org.jboss.wsf.stack.cxf.cxfservletext.loadadditionalconfigext(cxfservletext.java:124) org.jboss.wsf.stack.cxf.cxfservletext.loadbus(cxfservletext.java:101) org.apache.cxf.transport.servlet.abstractcxfservlet.init(abstractcxfservlet.java:78) org.jboss.wsf.stack.cxf.cxfservletext.init(cxfservletext.java:73) org.jboss.web.tomcat.security.securityassociationvalve.invoke(securityassociationvalve.java:190) org.jboss.web.tomcat.security.jacccontextvalve.invoke(jacccontextvalve.java:92) org.jboss.web.tomcat.security.securitycontextestablishmentvalve.process(securitycontextestablishmentvalve.java:126) org.jboss.web.tomcat.security.securitycontextestablishmentvalve.invoke(securitycontextestablishmentvalve.java:70) org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) se.marakanda.jboss.logincontextvalve.invoke(logincontextvalve.java:44) org.jboss.web.tomcat.service.jca.cachedconnectionvalve.invoke(cachedconnectionvalve.java:158) org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:330) org.apache.coyote.http11.http11processor.process(http11processor.java:829) org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:598) org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:447) java.lang.thread.run(thread.java:619)
anyone knows how issue can resolved?
i had same problem. , none of google stuff making sense. found out in case missing following in spring context 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" />
Comments
Post a Comment