@WebMethod(operationName="getAllUsers")
public List<User> getAllUsers() {
List<User> lists=new ArrayList<User>();
Dept dept;
User user;
for (int i = 1; i <= 100; i++) {
user = new User();
user.setName("name"+i);
user.setAge(+i);
user.setAddress("address"+i);
dept=new Dept();
dept.setDeptid(i);
dept.setDeptname("deptname"+i);
user.setDept(dept);
lists.add(user);
}
return lists;
}