LOGGER.finest("calling parse on " + requestSource);
adapter.parse(requestSource);
LOGGER.fine("just parsed: " + requestSource);
} catch (SAXException e) {
e.printStackTrace(System.out);
throw new WfsException(e,
"XML getFeature request SAX parsing error",
XmlRequestReader.class.getName());
} catch (IOException e) {
throw new WfsException(e, "XML get feature request input error",
XmlRequestReader.class.getName());
} catch (ParserConfigurationException e) {
throw new WfsException(e, "Some sort of issue creating parser",
XmlRequestReader.class.getName());
}
Request r = contentHandler.getRequest(req);
return r;