} catch (DAOException e) {
logger.debug("", e);
throw new RuntimeException(e);
}
GetClosedOrdersResponse response = new GetClosedOrdersResponse();
ArrayOfOrderDataBean arrayOfOrderBean = new ArrayOfOrderDataBean();
arrayOfOrderBean.setOrderDataBean(toArray(closedOrders));
response.setGetClosedOrdersReturn(arrayOfOrderBean);
return response;
}