public HarvestResult harvest(Logger log) throws Exception {
this.log = log;
ListIdentifiersRequest req = new ListIdentifiersRequest(context.getBean(GeonetHttpRequestFactory.class));
req.setSchemaPath(new File(context.getAppPath() + Geonet.SchemaPath.OAI_PMH));
XmlRequest t = req.getTransport();
try {
t.setUrl(new URL(params.url));
} catch (MalformedURLException e1) {
HarvestError harvestError = new HarvestError(e1, log);
harvestError.setDescription(harvestError.getDescription() + " " + params.url);