setEchoedSearchRetrieveRequestType(request, response);
if(request.getRecordXPath()!=null)
db.diagnostic(72, null, response);
if(request.getSortKeys()!=null &&
!request.getSortKeys().equals("") && !db.supportsSort())
db.diagnostic(SRWDiagnostic.SortNotSupported, null, response);
// set extraResponseData
StringBuffer extraResponseData = new StringBuffer();