dfm.registerDestinationFactory("http://cxf.apache.org/transports/jms", transport);
dfm.registerDestinationFactory("http://cxf.apache.org/transports/http", transport);
dfm.registerDestinationFactory(MuleUniversalTransport.TRANSPORT_ID, transport);
ConduitInitiatorManager extension = bus.getExtension(ConduitInitiatorManager.class);
try
{
// Force the HTTP transport to load if available, otherwise it could
// overwrite our namespaces later
extension.getConduitInitiator("http://schemas.xmlsoap.org/soap/http");
}
catch (BusException e1)
{
// If unavailable eat exception and continue
}
extension.registerConduitInitiator("http://cxf.apache.org/transports/http", transport);
extension.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/", transport);
extension.registerConduitInitiator("http://schemas.xmlsoap.org/soap/http", transport);
extension.registerConduitInitiator("http://schemas.xmlsoap.org/soap/http/", transport);
extension.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/http", transport);
extension.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/http/", transport);
extension.registerConduitInitiator("http://www.w3.org/2003/05/soap/bindings/HTTP/", transport);
extension.registerConduitInitiator("http://cxf.apache.org/transports/http/configuration", transport);
extension.registerConduitInitiator("http://cxf.apache.org/bindings/xformat", transport);
extension.registerConduitInitiator("http://cxf.apache.org/transports/jms", transport);
extension.registerConduitInitiator(MuleUniversalTransport.TRANSPORT_ID, transport);
bus.getOutInterceptors().add(new MuleProtocolHeadersOutInterceptor());
bus.getOutFaultInterceptors().add(new MuleProtocolHeadersOutInterceptor());
if (enableMuleSoapHeaders)