Requesting a GeoJSON through a cascaded WFS only works if the “WFS GetCapabilities URL” in the WFS store includes ?version=1.0.0 or ?version=1.1.0 .
It fails if ?version=2.0.0 or no version at all is provided with this error message:
<ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc [http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd](http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd)">
<ServiceException>
java.lang.RuntimeException: Parsing failed for FeatureCollection: java.lang.RuntimeException: Unable to set property: boundedBy for eobject:
{http://www.opengis.net/wfs/2.0}
FeatureCollectionType Parsing failed for FeatureCollection: java.lang.RuntimeException: Unable to set property: boundedBy for eobject:
{http://www.opengis.net/wfs/2.0}
FeatureCollectionType Unable to set property: boundedBy for eobject:
{http://www.opengis.net/wfs/2.0}
FeatureCollectionType java.lang.String cannot be cast to net.opengis.wfs20.EnvelopePropertyType
</ServiceException>
</ServiceExceptionReport>
|