helpdesk-validator icon indicating copy to clipboard operation
helpdesk-validator copied to clipboard

Missing Error Message for Analyze WFS Capabilities

Open pkorduan opened this issue 4 years ago • 4 comments

I can not find a meaningful error message when "Analyze WFS Capabilities" check for WFS-predefined service has an error.

  • [x] a description of the steps to reproduce your issue I did a check on my WFS-predefined Service. The result shows an error on the Test "Analyze WFS Capabilities" but i can not find the reason. The message "Technical test step, used to analyze the service. Determines available OutputFormats, FeatureTypes, FeatureType properties and namespaces from the Capabilities document aggregated with information from DescribeFeatureType and GetFeature responses. Executes the test steps 'Get Schema Definition' and 'Get number of Features in DB' for each FeatureTypeName which were found in the Capabilities (previous test step 'GetCapabilities')." is clear, but the follwing dependencies has been passed successfully. Abhängigkeit | Get Schema Definition (Bestanden) Abhängigkeit | Get Schema Definition (Bestanden) Abhängigkeit | Get number of Features in DB (Bestanden) I can not see where the problem is or which of the available outputformat, featuretype and namespace combination should cause the error. Could you output a list of executed requests and mark that one witch failed?
  • [x] the browser and version used Firefox 92.0
  • [x] a screenshot illustrating the problem grafik
  • [x] the Test Report (ideally as an attachment to the issue) sea Log-File in the attachement to this issue
  • [x] the name of the Test that failed or better: change the Level of Detail in the Report by clicking on All Details, then scroll down to the failed test and copy the Link on the right-hand side of the Assertion URI https://inspire.ec.europa.eu/validator//v2/TestRuns/EID17744000-5b90-4905-9369-7f841b92295d.html?lang=de#EID5a928c3a-017c-1000-b798-8af92ac25db3
  • [x] the URL of your service / the file you have uploaded or referenced (as an attachment). https://gis-bldam-brandenburg.de/pd-wfs/Baudenkmale/?REQUEST=GetCapabilities&SERVICE=WFS&VERSION=2.0.0 Attachement: BLDAM WFS-predefined Baudenkmale [RERUN] [RERUN] [RERUN] [RERUN] [RERUN] [RERUN].log

Thanks in advance for help or hints to find the reson of that error.

pkorduan avatar Oct 07 '21 12:10 pkorduan

Dear @pkorduan

Thank you for opening this issue. Opening the messages attached to the Test Report, we get this error

java.lang.AssertionError: Failed to initialize Executable Test Suite. Expression: (completed == autoConfiguration). Values: autoConfiguration = SchemaAnalyzer [application/gml+xml; version=3.2] : FeatureType http://inspire.ec.europa.eu/schemas/ps/4.0:ProtectedSite not found in Schema document!

We are going to check what is the issue here, but it seems related to the schema validation and its availability on the INSPIRE schema registry.

carlospzurita avatar Oct 11 '21 12:10 carlospzurita

Dear @pkorduan,

trying to reproduce and analyse your issue I detected that there are formatting error in your WFS. Could you please verify?

fabiovin avatar Oct 29 '21 15:10 fabiovin

Dear fabiovin,

thank you for helping with this issue. Yes the Capabilities was wrongly formattet. I fixed this. Now I'am some stemps forward until "Analyze WFS Capabilities". There is status Fehler (Error) but the dependencies are all solved (Bestanden) Abhängigkeit | Get Schema Definition (Bestanden) Abhängigkeit | Get Schema Definition (Bestanden) Abhängigkeit | Get number of Features in DB (Bestanden)

How can I find which response of which request does not fit the requirements or definitions of the Capabilities-Document. The Test URL is now: https://yzyiqfakm4.execute-api.eu-west-1.amazonaws.com/validator/v2/TestRuns/EID421ce679-b1f3-4f6c-b5df-be60b4b03317.html?lang=de The Protokoll URL is: https://yzyiqfakm4.execute-api.eu-west-1.amazonaws.com/validator/v2/TestRuns/421ce679-b1f3-4f6c-b5df-be60b4b03317/log

Thanks for further help in advance.

pkorduan avatar Jan 13 '22 15:01 pkorduan

Dear @pkorduan , You have to change the Level of details to All details. Afterwards, you will see under the Analyze WFS Capabilities two attachments

  • Message.1 = java.lang.AssertionError: Failed to initialize Executable Test Suite. Expression: (completed == autoConfiguration). Values: autoConfiguration = SchemaAnalyzer [application/gml+xml; version=3.2] : FeatureType http://inspire.ec.europa.eu/schemas/ps/4.0:ProtectedSite not found in Schema document!
  • Message.2 = error at line: 28

Kind regards.

alitka avatar Jan 13 '22 17:01 alitka