DestinationFactoryManager destinationFactoryManager = bus.getExtension(DestinationFactoryManager.class);
GeronimoDestinationFactory factory = new GeronimoDestinationFactory(bus);
factory.setTransportIds(ids);
destinationFactoryManager.registerDestinationFactory("http://cxf.apache.org/transports/http/configuration", factory);
destinationFactoryManager.registerDestinationFactory("http://www.w3.org/2003/05/soap/bindings/HTTP/", factory);
destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", factory);
destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/http/", factory);
destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", factory);
destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", factory);
destinationFactoryManager.registerDestinationFactory(XMLConstants.NS_XML_FORMAT, factory);
EndpointImpl publishedEndpoint = publishEndpoint(target);