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

Missing Error Message for Analyze WFS Capabilities #629

Open
6 tasks done
pkorduan opened this issue Oct 7, 2021 · 4 comments
Open
6 tasks done

Missing Error Message for Analyze WFS Capabilities #629

pkorduan opened this issue Oct 7, 2021 · 4 comments
Assignees

Comments

@pkorduan
Copy link

pkorduan commented Oct 7, 2021

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

  • 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?
  • the browser and version used
    Firefox 92.0
  • a screenshot illustrating the problem
    grafik
  • the Test Report (ideally as an attachment to the issue)
    sea Log-File in the attachement to this issue
  • 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
  • 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.

@carlospzurita
Copy link
Contributor

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.

@fabiovin
Copy link
Collaborator

Dear @pkorduan,

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

@pkorduan
Copy link
Author

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.

@alitka
Copy link
Contributor

alitka commented Jan 13, 2022

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.

@fabiovinci fabiovinci assigned fabiovinci and unassigned pkorduan and fabiovin Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants