ArrayList resultDeleteLog = new ArrayList();
ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
try
{
//call to EJB server
ContactFacade remote =(ContactFacade)contactFacadeHome.create();
remote.setDataSource(this.dataSource);
for (int i=0; i<recordID.length; i++)
{
if(recordID[i] != null && !recordID[i].equals("")){
int elementID = Integer.parseInt(recordID[i]);
try{
remote.deleteAddress(elementID, this.contactId, individualID);
}//end of try block
catch(AuthorizationFailedException ae){
String errorMessage = ae.getExceptionDescription();
resultDeleteLog.add(errorMessage);
}//end of catch block