public GetDeptFindByPKResponse getDepartment(@WebParam(name = "getDepartmentRequest", partName = "parameters", targetNamespace = "http://nl.amis.hr.entities")
GetDeptFindByPK parameters) {
List<Dept> result = scottEJB.getDeptFindByPK(parameters.getId());
if (result != null && result.size() > 0) {
Dept dept = result.get(0);
GetDeptFindByPKResponse response = obj.createGetDeptFindByPKResponse();
Department department = obj.createDepartment();
department.setDepartmentNr(dept.getDeptno());
department.setLocation(dept.getLoc());
department.setName(dept.getDname());
for ( Emp emp : dept.getEmpList()) {
Employee employee = obj.createEmployee();
employee.setCommission(emp.getComm());
employee.setEmployeeNr(emp.getEmpno());
employee.setHiredate(getXMLGregorianCalendar(emp.getHiredate()));
employee.setJob(emp.getJob());