}
List<DocData> list = registryImpl.findOGCEResource(findUserDN(), resource.getResourceNameQuery(), resource.getResourceName() ,resource.getResourceType(),parentTypedID);
FindOGCEResourceResponseDocument responseDocument = FindOGCEResourceResponseDocument.Factory.newInstance();
FindOGCEResourceResponse findResourceResponse = responseDocument.addNewFindOGCEResourceResponse();
if(list != null){
for(DocData data:list){
OGCEResourceData resourceData = findResourceResponse.addNewResource();
copyOGCEResourceData(data, resourceData);
}
}
log.info("Response " + responseDocument.xmlText());
return responseDocument;