throw new UnexpectedObjectException();
}
}
log.debug("Method:save_business: ENlength=" + entityarr.length);
// Save business
BusinessDetail bd = null;
try {
bd = (BusinessDetail) executeOperation(entityarr, "SAVE_ORG");
}
catch (RegistryException e) {
exceptions.add(new SaveException(e.getLocalizedMessage()));
bulk.setStatus(JAXRResponse.STATUS_FAILURE);
bulk.setExceptions(exceptions);
return bulk;
}
List<BusinessEntity> bizEntityList = bd.getBusinessEntity();
entityarr = new BusinessEntity[bizEntityList.size()];
bizEntityList.toArray(entityarr);
log.debug("After Saving Business. Obtained vector size:" + entityarr != null ? entityarr.length : 0);