return new SpringBusFactory().createBus("/org/apache/cxf/ws/addressing/spring/spring.xml");
}
@Test
public void testServerFactory() {
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
assert bus != null;
sf.setServiceBean(new GreeterImpl());
sf.setAddress("http://localhost/test");
sf.setStart(false);
Configurer c = getBus().getExtension(Configurer.class);
c.configureBean("server", sf);
Server server = sf.create();
Endpoint endpoint = server.getEndpoint();
checkAddressInterceptors(endpoint.getInInterceptors());
}