[Geoserver-devel] [JIRA] (GEOS-10021) WFS cascading fails for GeoJSON

Jakob Miksch created an issue

GeoServer / BugGEOS-10021

WFS cascading fails for GeoJSON

Issue Type:

BugBug

Assignee:

Unassigned

Components:

WFS, wfs-datastore

Created:

15/Apr/21 1:57 PM

Priority:

MediumMedium

Reporter:

Jakob Miksch

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>

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100157-sha1:a51b698)

Atlassian logo