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

at06-getcapabilities-view-service-metadata: Expected Content-Type header #1099

Closed
Kate-Lyndegaard opened this issue Jul 10, 2024 · 4 comments
Labels
deployed in reference validator Solution deployed in production
Milestone

Comments

@Kate-Lyndegaard
Copy link

Hi,

I am testing the updated ATS/ETS for View Services on staging, using the following WMS:

https://test.haleconnect.de/ows/services/org.762.dd99d221-b7d1-4caa-aed4-7d45b09b1731_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0

I receive the following error on at06-getcapabilities-view-service-metadata:

Error

Expected 'application/xml;charset=UTF-8' as Content-Type header but server returned 'application/xml' for url https://test.haleconnect.de/services/bsp/org.762.dd99d221-b7d1-4caa-aed4-7d45b09b1731/md/service/id_wms

Is there a requirement that specifies this header to be used as a fixed value?
The XML response uses an XML mechanism to communicate the charset used: <?xml version="1.0" encoding="UTF-8"?>

@fabiovinci
Copy link
Collaborator

Dear @Kate-Lyndegaard,

thank you for reporting the error.
Since you are in Scenario 1, the validator checks that the URL of the service metadata is working.
There are no specific requirements on the Content-Type header.
We will check the error.

@Kate-Lyndegaard
Copy link
Author

Dear @fabiovinci

Great, thank you very much:-)

@fabiovinci
Copy link
Collaborator

Dear @Kate-Lyndegaard,

the fix for this issue is already available in staging. It will be included in the next release.

@fabiovinci fabiovinci added ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing and removed under development labels Jul 10, 2024
@Kate-Lyndegaard
Copy link
Author

Dear @fabiovinci

Wow, that was fast! Our service is no longer failing the test- amazing. Thank you very much:-)

@fabiovinci fabiovinci reopened this Jul 10, 2024
@fabiovinci fabiovinci added solved Solution developed and accepted, not yet deployed and removed ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing labels Jul 10, 2024
@fabiovinci fabiovinci added deployed in reference validator Solution deployed in production and removed solved Solution developed and accepted, not yet deployed labels Jul 17, 2024
@github-project-automation github-project-automation bot moved this to Production: latest release in Validator issues Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed in reference validator Solution deployed in production
Projects
Archived in project
Development

No branches or pull requests

4 participants