ji.setInterface(interfaz);
s.setServiceContract(ji);
ConfiguredService configuredService = factory.createConfiguredService();
configuredService.setPort(s);
ep.setConfiguredService(configuredService);
FooBinding binding = new FooBinding();
ep.getBindings().add(binding);
return ep;
}