Opened 5 years ago

Closed 19 months ago

#153 closed defect (fixed)

Petascope gives error when valid OWS Common parameter is suppled as part of request

Reported by: jpass@… Owned by: bphamhuu
Priority: minor Milestone: Future
Component: petascope Version: 8.3
Keywords: GetCapabilities exception Cc: pbaumann
Complexity: Medium


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="" xmlns:ows="" xmlns:xsd="" xmlns:xlink="">
<ows:Exception locator="sections" exceptionCode="InvalidEncodingSyntax">
Document received does not conform with protocol syntax </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>

Change History (8)

comment:1 Changed 5 years ago by dmisev

  • Cc pbaumann added
  • Owner changed from dmisev to erodriguez
  • Status changed from new to assigned
  • Version set to 8.3

comment:2 Changed 5 years ago by pbaumann

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.

comment:3 Changed 5 years ago by pbaumann

  • Milestone set to Future

comment:4 Changed 3 years ago by dmisev

  • Complexity set to Very Hard
  • Owner changed from erodriguez to pcampalani

Not sure if this is still valid?

comment:5 Changed 3 years ago by jpass

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="" xmlns:xsd="" xmlns:ows="" xsd:schemaLocation="" version="2.0.0">
<ows:Exception exceptionCode="InvalidEncodingSyntax" locator="sections">
<ows:ExceptionText>Document received does not conform with protocol syntax</ows:ExceptionText>

As the sections parameter is not supported by the service we should instead get a standard GetCapabilities response and not an error.

comment:6 Changed 21 months ago by dmisev

  • Owner changed from pcampalani to vmerticariu

comment:7 Changed 19 months ago by bphamhuu

  • Owner changed from vmerticariu to bphamhuu

comment:8 Changed 19 months ago by bphamhuu

  • Complexity changed from Very Hard to Medium
  • Resolution set to fixed
  • Status changed from assigned to closed

Close as patch was accepted, thanks.

Note: See TracTickets for help on using tickets.