proxyFactory.setServiceClass(AuthService.class);
proxyFactory.setAddress("http://localhost:9002/jaxwsAndAegis");
AuthService service = (AuthService) proxyFactory.create();
assertTrue(service.authenticate("Joe", "Joe", "123"));
assertFalse(service.authenticate("Joe1", "Joe", "fang"));
assertTrue(service.authenticate("Joe", null, "123"));
List<String> list = service.getRoles("Joe");
assertEquals(3, list.size());
assertEquals("Joe", list.get(0));
assertEquals("Joe-1", list.get(1));
assertEquals("Joe-2", list.get(2));