Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GE WFS 2.0 Test - invalid Geometry Operand - java.lang.RuntimeException: Could not create envelope for feature type #235

Closed
robblis opened this issue Aug 2, 2022 · 3 comments · Fixed by #237
Assignees
Projects
Milestone

Comments

@robblis
Copy link

robblis commented Aug 2, 2022

Within the WFS 2.0 test, the "invalid Geometry Operand" test fails for multiple feature types with the following error...

java.lang.RuntimeException: Could not create envelope for feature type: {http://inspire.ec.europa.eu/schemas/ge-core/4.0}GeologicEvent

We can run the POST request using Postman and we see normal GML XML records returned. We used the body from the test report and used the POST URL from the GetCapabilities XML.

POST URL from Report: https://inspiredemo.esri.com/arcgis/rest/services/gemr3/MapServer/exts/InspireFeatureDownload/service

POST URL from GetCapabilities XML: https://inspiredemo.esri.com/arcgis/services/gemr3/MapServer/InspireFeatureDownload

Body:
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS"
version="2.0.0">
<wfs:Query xmlns:ns6="http://inspire.ec.europa.eu/schemas/ge-core/4.0"
typeNames="ns6:GeologicEvent"/>
</wfs:GetFeature>

We see the POST URL in the report doesn't seem to match what's in the GetCapabilities XML, so we're not sure if the test used the incorrect POST URL or this is some other issue. Your assistance on this would be appreciated.

To Reproduce
Steps to reproduce the behavior:

  1. Run a WFS 2.0 test using the following URL:
    https://inspiredemo.esri.com/arcgis/rest/services/gemr3/MapServer/exts/InspireFeatureDownload/service?VERSION=2.0.0&SERVICE=WFS&REQUEST=GetCapabilities&LANGUAGE=&TYPENAMES=&MAXFEATURES=&COUNT=&f=image '...'
  2. Open report '....'
  3. Scroll down to Spatial Filter -> invalid Geometry Operand '....'
  4. See error

Expected behavior
Successful Test

Screenshots
Screenshot of Postman request.
image

Additional context
I've attached the test report..

Thanks for your help,
Robert

GE_WFS_Test_s0010.zip

@dstenger dstenger self-assigned this Aug 3, 2022
@dstenger dstenger added this to To do in CITE via automation Aug 3, 2022
@dstenger
Copy link
Contributor

dstenger commented Aug 3, 2022

Thank you for reporting.

We will do further investigation.

@dstenger dstenger assigned bpross-52n and unassigned dstenger Aug 3, 2022
@Dnoack49
Copy link

Hello,

I just wanted to add that we run into the same type of error for the following WFS 2.0 (INPIRE Planned Land Use):
https://inspire.brandenburg.de/services/plu_bkt_welzowsued1_wfs?service=WFS&request=GetCapabilities

This test had passed before but this time an error occurs for the FeatureType Official Documentation:
java.lang.RuntimeException: Could not create envelope for feature type: {http://inspire.ec.europa.eu/schemas/plu/4.0}OfficialDocumentation

Attached you find the report:
WFS-PLU_Test Session Results.pdf

@bpross-52n bpross-52n moved this from To do to In progress in CITE Aug 25, 2022
@dstenger
Copy link
Contributor

Pull request was created to fix the problem: #237

@dstenger dstenger moved this from In progress to To verify in CITE Aug 25, 2022
@dstenger dstenger assigned dstenger and unassigned bpross-52n Aug 25, 2022
@dstenger dstenger added this to the 1.39 milestone Aug 25, 2022
dstenger added a commit that referenced this issue Oct 26, 2022
CITE automation moved this from To verify to Done Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
CITE
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants