Capabilities OGC RESTful Encoding of Ordering Services Framework For Earth Observation Products

136 Copyright © 2014 Open Geospatial Consortium

8. ROSEO “Core” Requirement Class

This section reports all the requirements a ROSEO server has to comply with for claiming the conformance with respect to the Core class. This section has been structured by resources: for each ROSEO resource a dedicated sub- section has been prepared reporting all related requirements: ฀ Capabilities’s requirements have been reported in §8.1. ฀ Order Option’s requirements have been reported in §8.2. ฀ Order’s requirements have been reported in §8.3. ฀ Ordered Product’s requirements have been reported in §8.4.

8.1 Capabilities

Requirements Class http:www.opengis.netspecROSEO1.0reqCore Target type ROSEO Server Dependency None Requirement http:www.opengis.netspecROSEO1.0reqCoreRoot All resources of a ROSEO server shall be accessible from the following root URL: http:hostname:portcontext pathROSEO1.0.0 Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilities The Capabilities resource of a ROSEO server shall be accessible from the ROSEO root path: http:hostname:portcontext pathROSEO1.0.0 via the HTTP GET method. Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesServiceIdentificatio n The ServiceIdentification section of Capabilities resource of a ROSEO server shall be accessible from the following path: http:hostname:portcontext pathROSEO1.0.0ServiceIdentification via the HTTP GET method. 137 Copyright © 2014 Open Geospatial Consortium Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesServiceProvider The ServiceProvider section of Capabilities resource of a ROSEO server shall be accessible from the following path: http:hostname:portcontext pathROSEO1.0.0ServiceProvider via the HTTP GET method. Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesContents The Contents section of Capabilities resource of a ROSEO server shall be accessible from the following path: http:hostname:portcontext pathROSEO1.0.0Contents via the HTTP GET method. Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesschema The returned Capabilities resource shall consist of an XML instance document as validated by the entity Capabilities in the roseo.xsd XML Schema. Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresource The returned Capabilities resource shall contain all information about the resources supported by the ROSEO Server. Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceprofile The returned Capabilities resource shall advertise the support of ROSEO specification including: CapabilitiesServiceIdentificationProfile= http:www.opengis.netdefbproseo1.0 Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceresourceU RL The returned Capabilities resource shall advertise the supported resources setting the element: CapabilitiesContentsresourceURL reporting the URL templates for accessing to the Capabilities, OrderOptions, Order, OrderedProducts resources. 138 Copyright © 2014 Open Geospatial Consortium Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceorder_stat us The Capabilities document returned by a ROSEO Server shall have: ฀ CapabilitiesContentsGetStatusCapabilitiesorderSearch = true ฀ CapabilitiesContentsGetStatusCapabilitiesorderRetrieve = true ฀ CapabilitiesContentsGetStatusCapabilitiesfull = true Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceorder_opti ons_encoding A compliant ROSEO Server shall support the following SWE encoding: XMLEncoding Then the returned Capabilities document shall have: ฀ CapabilitiesContentsContentsTypesupportedEncoding = XMLEncoding Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceproduct_o rder The ROSEO Server shall return a Capabilities document including: ฀ Either CapabilitiesContentsProductOrderssupported = true ฀ Or at least one element CapabilitiesContentsSupportedCollectionProductOrderssupported = true Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourceoda The ROSEO Server shall return a Capabilities document including: ฀ Either CapabilitiesContentsDescribeResultAccessCapabilitiessupported = true ฀ Or at least one element CapabilitiesContentsSupportedCollectionDescribeResultAccessCapabilities supported = true 139 Copyright © 2014 Open Geospatial Consortium Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesresourcecancel The ROSEO Server shall return a Capabilities document including: ฀ Either CapabilitiesContentsCancelCapabilitiessupported = true ฀ Or at least one element CapabilitiesContentsSupportedCollectionCancelCapabilitiessupported = true Requirement http:www.opengis.netspecROSEO1.0reqCoreCapabilitiesexception When a ROSEO Server encounters an error while returning a Capabilities resource, it shall return: ฀ HTTP Status Code: 4XX for errors on the client side; 5XX for errors on server side as specified in Table 7-9. ฀ HTTP Entity Body: an ows:ExceptionReport according to the clause 8 of [NR9].

8.2 Order Options