pf.setAddress("local://WS1");
pf.setProperties(props);
client = pf.create(WS1.class);
Server server = createService(WS1.class, new WS1Impl(), "WS1", binding);
new LoggingFeature().initialize(server, null);
server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
}