public FindAppDescResponseDocument findAppDesc(FindAppDescDocument input)
throws XregistryException {
log.info("Request Received " + input.xmlText());
List<xregistry.doc.AppData> appsData = registryImpl.findAppDesc(findUserDN(), input.getFindAppDesc()
.getAppNameSearchStr());
FindAppDescResponseDocument res = FindAppDescResponseDocument.Factory.newInstance();
FindAppDescResponse appDescResponse = res.addNewFindAppDescResponse();
if (appsData != null) {
for (xregistry.doc.AppData appData : appsData) {
AppData xbeansAppData = appDescResponse.addNewAppData();
copyAppData(appData, xbeansAppData);
}
} else {
res.addNewFindAppDescResponse();
}
log.info("Response: " + res.xmlText());
return res;
}