catch (ClassCastException ce) {
throw new UnexpectedObjectException();
}
}
// Save Service
ServiceDetail sd = null;
try {
sd = (ServiceDetail) executeOperation(sarr, "SAVE_SERVICE");
}
catch (RegistryException e) {
exceptions.add(new SaveException(e.getLocalizedMessage()));
bulk.setStatus(JAXRResponse.STATUS_FAILURE);
return bulk;
}
List<BusinessService> bizServiceList = sd.getBusinessService();
sarr = new BusinessService[bizServiceList.size()];
bizServiceList.toArray(sarr);
for (int i = 0; sarr != null && i < sarr.length; i++) {
BusinessService entity = (BusinessService) sarr[i];