import org.apache.cxf.service.model.BindingOperationInfo;
public class BareServiceTest extends AbstractRestTest {
public void testCreation() throws Exception {
BindingFactoryManager bfm = getBus().getExtension(BindingFactoryManager.class);
bfm.registerBindingFactory(HttpBindingFactory.HTTP_BINDING_ID, new HttpBindingFactory());
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
sf.setBus(getBus());
sf.setServiceClass(CustomerService.class);
sf.getServiceFactory().setWrapped(false);