Changeset 8826


Ignore:
Timestamp:
31/10/13 17:20:17 (5 years ago)
Author:
mnagni
Message:

Complete - # 22442: Debug MEDIN DWS SOAP response
 http://team.ceda.ac.uk/trac/ceda/ticket/22442

Location:
mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/java/ndg/services/revitalization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/java/ndg/services/revitalization/ejb/discovery/SearchHelper.java

    r8822 r8826  
    121121                        toFilter = toFilter.subList((int) start - 1, (int) howMany);             
    122122                        PresentHelper present = new PresentHelper(conn);         
    123                         Summary res = present.doPresent(toFilter, doSearchType.getRetrieveCriteria());                   
    124  
    125                 return res; 
     123                        return new Summary(present.doPresent(toFilter, doSearchType.getRetrieveCriteria()), hits);                       
    126124        } 
    127125 
  • mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/java/ndg/services/revitalization/executor/DiscoveryServiceExecutor.java

    r8823 r8826  
    157157                try { 
    158158                        RetrieveCriteriaType retrieveType = doPresent.getRetrieveCriteria(); 
    159                         Summary result = EJBBeanFactory.getDiscoveryService().presentDocuments(doPresent); 
     159                        List<OriginalDocument> result = EJBBeanFactory.getDiscoveryService().presentDocuments(doPresent); 
    160160                        String recDetail = retrieveType == null ? null : retrieveType.getRecordDetail(); 
    161161                        ListNamesItem detail = DiscoveryDictionaryDPWS.getRecordDetails(recDetail); 
     
    163163                                response.setDocuments(of.createDocuments()); 
    164164                        }                        
    165                         processResult(result.getResult(), response.getDocuments(), detail, null); 
     165                        processResult(result, response.getDocuments(), detail, null); 
    166166                        status = true; 
    167167                } catch (NdgException e) { 
Note: See TracChangeset for help on using the changeset viewer.