public InvoiceWS[] DTOtoWS(List dtos) { InvoiceWS retValue[] = new InvoiceWS[dtos.size()]; for (int f = 0; f < retValue.length; f++) { retValue[f] = InvoiceBL.getWS((InvoiceDTO) dtos.get(f)); } LOG.debug("converstion " + retValue.length); return retValue; }