if (xregAppDesc != null) {
List<AppData> appDescList = new ArrayList<AppData>();
for (int i = 0; i < xregAppDesc.length; i++) {
try {
xregistry.generated.FindAppDescResponseDocument.FindAppDescResponse.AppData xbeansData = xregAppDesc[i];
AppData resultAppData = new AppData(xbeansData.getName(), xbeansData.getOwner(), xbeansData.getHostName());
resultAppData.allowedAction = xbeansData.getAllowedAction();
resultAppData.resourceID = xbeansData.getName();
appDescList.add(resultAppData);
} catch (XmlValueOutOfRangeException e) {
throw new GfacException("Problem with retrieving object : " + e.getLocalizedMessage(), FaultCode.ErrorAtDependentService);