JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean(); 
        factory.setServiceClass(NoRootBare.class); 
        factory.setServiceBean(new NoRootBareImpl()); 
        factory.setAddress("local://localhost/testNoRootBare"); 
        Server server = factory.create();
        server.start();
        
        QName serviceName = new QName("http://service.jaxws.cxf.apache.org/", "NoRootBareService");
        QName portName = new QName("http://service.jaxws.cxf.apache.org/", "NoRootBarePort");
        ServiceImpl service = new ServiceImpl(getBus(), (URL)null, serviceName, null);