public class BareServiceTest extends AbstractRestTest {
@Test
public void testCreation() throws Exception {
BindingFactoryManager bfm = getBus().getExtension(BindingFactoryManager.class);
HttpBindingFactory factory = new HttpBindingFactory();
factory.setBus(getBus());
bfm.registerBindingFactory(HttpBindingFactory.HTTP_BINDING_ID, factory);
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
sf.setBus(getBus());
sf.setBindingId(HttpBindingFactory.HTTP_BINDING_ID);