Opened 13 years ago
Closed 9 years ago
#153 closed defect (fixed)
Petascope gives error when valid OWS Common parameter is suppled as part of request
Reported by: | Owned by: | Bang Pham Huu | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | petascope | Version: | 8.3 |
Keywords: | GetCapabilities exception | Cc: | Peter Baumann |
Complexity: | Medium |
Description
The WCS 2.0 Core (OGC 09-110r3) document indicates that valid GetCapabilities request parameters are those identified as such in OWS Common (OGC 06-121r9). One such parameter is 'sections'.
The server implementation note (for the section parameter in OWS Common (OGC 06-121r9)) states "When omitted or not supported by server, return complete service metadata document"
A request to the petascope service with a sections parameter like:
Does not follow the implementation rule and instead returns error:
<ows:ExceptionReport version="2.0.0" xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"> <ows:Exception locator="sections" exceptionCode="InvalidEncodingSyntax"> <ows:ExceptionText> Document received does not conform with protocol syntax </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
Change History (8)
comment:1 by , 12 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Version: | → 8.3 |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Milestone: | → Future |
---|
comment:4 by , 10 years ago
Complexity: | → Very Hard |
---|---|
Owner: | changed from | to
Not sure if this is still valid?
comment:5 by , 10 years ago
Well the issue still exists for Rasdaman 9.0.3
A request like:
Gives an error.
<?xml version="1.0" encoding="UTF-8" standalone="true"?> <ows:ExceptionReport xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/2.0" xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" version="2.0.0"> <ows:Exception exceptionCode="InvalidEncodingSyntax" locator="sections"> <ows:ExceptionText>Document received does not conform with protocol syntax</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
As the sections parameter is not supported by the service we should instead get a standard GetCapabilities response and not an error.
comment:6 by , 9 years ago
Owner: | changed from | to
---|
comment:7 by , 9 years ago
Owner: | changed from | to
---|
comment:8 by , 9 years ago
Complexity: | Very Hard → Medium |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Close as patch was accepted, thanks.
this traces back to an inconsistency introduced by OWS Common 2.0. It is on the table of OGC, but nobody addresses it currently. Seems we have to find a way forward by ourselves. As EOX is engaged in this issue, let's put our minds together.