static final String PORT = TestUtil.getPortNumber(WSAFeatureTest.class);
@Test
public void testServerFactory() {
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
sf.getFeatures().add(new WSAddressingFeature());
sf.setServiceBean(new GreeterImpl());
sf.setAddress("http://localhost:" + PORT + "/test");
sf.setStart(false);
sf.setBus(getBus());
Server server = sf.create();