log.info("Request Received " + input.xmlText());
FindResource resource = input.getFindResource();
List<DocData> list = registryImpl.findDocument(findUserDN(), resource.getResourceNameQuery());
FindResourceResponseDocument responseDocument = FindResourceResponseDocument.Factory.newInstance();
FindResourceResponse findResourceResponse = responseDocument.addNewFindResourceResponse();
if(list != null){
for(DocData data:list){
ResourceData resourceData = findResourceResponse.addNewResource();
copyResourceData(data, resourceData);
}
}
log.info("Response " + responseDocument.xmlText());
return responseDocument;