You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Dave Brosius <db...@apache.org> on 2008/04/27 18:02:30 UTC

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

Greetings,
    I am trying to get a simple service that worked fine outside of osgi to 
work in an osgi environment, and am getting the following exception

(using cxf 2.0.5 in jdk1.5)

Caused by: org.apache.cxf.BusException: No binding factory for namespace 
http://schemas.xmlsoap.org/soap/ registered.at 
org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:82)at 
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:295)

When i break on

org.apache.cxf.binding.AbstractBindingFactory


@PostConstruct
void registerWithBindingManager() {
    BindingFactoryManager manager = 
bus.getExtension(BindingFactoryManager.class);
    for (String ns : activationNamespaces) {
        manager.registerBindingFactory(ns, this);
    }
}

It is never hit, and so there are no bindings present when getBindingFactory 
is called.

Anyone have an idea what isn't being done that this method isn't called?

thanks,
dave