try {
GetRecordsGenerator generator = new GetRecordsGenerator(this.getRequestContext());
String cswRequest = generator.generateCswByIdRequest(uuid);
RequestHandler handler = ProviderFactory.newHandler(this.getRequestContext());
OperationResponse resp = handler.handleXML(cswRequest);
cswResponse = resp.getResponseXml();
records = this.parseResponse(cswResponse);
} catch (DiscoveryException e) {
throw new SearchException("Error quering GetRecordById: "+e.getMessage(),e);