setBus(BusFactory.getDefaultBus());
Object implementor = new AddNumberImpl();
String address = "http://localhost:" + PORT + "/jaxws/add";
ep = (EndpointImpl) Endpoint.create(implementor);
ep.getInInterceptors().add(new DecoupledFaultHandler());
ep.getFeatures().add(new WSAddressingFeature());
ep.publish(address);
Object implementor2 = new GreeterImpl();
String address2 = "http://localhost:" + PORT + "/jaxws/greeter";
ep = (EndpointImpl) Endpoint.create(implementor2);
ep.getInInterceptors().add(new DecoupledFaultHandler());
ep.getFeatures().add(new WSAddressingFeature());
ep.publish(address2);
}