}
private SearchXslRecord getMetadataAsObjectX(String uuid) throws SearchException {
SearchResultRecord record = new SearchResultRecord();
String metaUrl = this.getMetadataUrl(uuid);
SearchXslRecord recordX = null;
URL url = null;
Exception ex = null;
try {
url = new URL(metaUrl);
HttpClientRequest clientRequest = HttpClientRequest.newRequest(
HttpClientRequest.MethodName.GET, url.toExternalForm());
clientRequest.setConnectionTimeMs(getConnectionTimeoutMs());
clientRequest.setResponseTimeOutMs(getResponseTimeoutMs());
clientRequest.execute();
String response = clientRequest.readResponseAsCharacters();
LOG.log(Level.FINER, "Response from get Metadata url = {0}\n response = \n{1}", new Object[]{url.toExternalForm(), response});
recordX = new SearchXslRecord();
this.readXslProfile().readGetMetadataByIDResponse(response, recordX);
} catch (MalformedURLException e) {
ex = e;
} catch (IOException e) {
ex = e;