/** * get the fedora describe xml. * * @return The HttpMethod after the service call . * @throws Exception If the service call fails. */ public String describeFedora() throws Exception { com.yourmediashelf.fedora.client.FedoraClient restClient = getFedoraRestClient(); FedoraResponse response = com.yourmediashelf.fedora.client.FedoraClient.describeRepository() .xml(true) .execute(restClient); return toString(response.getEntityInputStream()); }