Thursday, January 28, 2010

No binding factory for namespace http://schemas.xmlsoap.org/wsdl/soap/ registered

The error is misleading:

The spring configuration file for CXF is missing some imports:

    <import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />

3 comments: