JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
sf.setAddress("http://localhost:" + PORT + "/Echo");
sf.setDataBinding(new AegisDatabinding());
sf.setServiceBean(new Echo());
sf.getInInterceptors().add(new URIMappingInterceptor());
Server server = sf.create();
// turn off nanny in URIMappingInterceptor
server.getEndpoint()
.getService().put(AbstractInDatabindingInterceptor.NO_VALIDATE_PARTS, Boolean.TRUE);
ServerFactoryBean sf2 = new ServerFactoryBean();