InputStream reader = new ByteArrayInputStream(wfsCapabilitiesRawData);
final WFS100ProtocolHandler protocolHandler = new WFS100ProtocolHandler(reader,
connectionFac);
try {
HttpMethod prefferredProtocol = Boolean.TRUE.equals(protocol) ? POST : GET;
dataStore = new WFS_1_0_0_DataStore(prefferredProtocol, protocolHandler,
timeoutMillis, buffer, lenient, wfsStrategy, filterCompliance);
} catch (SAXException e) {
logger.warning(e.toString());
throw new IOException(e.toString());