EO Satellite Tasking Extension for SPS OGC 10-135
Requirement http:www.opengis.netspecEOSPS2.0reqsidresponse-valid
Req 51. The response to the SubmitSegmentByID operation shall be an instance of
the SubmitResponse class defined in [OGC 09‐000].
8.3.3 XML Encoding
The following XML schema snippet normalizes the XML encoding of the SubmitSegmentByID class.
element name
= SubmitSegmentByID
type =
eosps:SubmitSegmentByIDType substitutionGroup
= swes:ExtensibleRequest
complexType name
= SubmitSegmentByIDType
complexContent extension
base =
swes:ExtensibleRequestType sequence
element name
= task
type =
gml:CodeType element
name =
segmentID type
= gml:CodeType
maxOccurs =
unbounded sequence
extension complexContent
complexType
Requirement http:www.opengis.netspecEOSPS2.0reqsidrequest-valid
Req 52. The XML message encoding a SubmitSegmentByID request shall be valid
with respect to the submitSegmentByID.xsd XML schema. The server shall correctly
reject an invalid request by returning the proper correctly formatted exception as
defined in [OGC 06‐121] and [OGC 09‐001].
Below is an example of SubmitSegmentByID request and the corresponding response:
SubmitSegmentByID service
= EOSPS
version =
2.0 xmlns
= http:www.opengis.neteosps2.0
task http:earth.esa.intspsfeasibilityF45EF36C23D4C89AB
task segmentID
S03 segmentID
segmentID S06
segmentID SubmitSegmentByID
8.3.4 Exceptions
When an SPS EO server encounters an error while performing a SubmitSegmentByID operation, it shall return an exception report message as specified in the Sensor Planning
Service 2.0 standard [OGC 09-000].
The following table presents exception codes that are applicable to the SubmitSegmentByID operation.
Copyright ©
2011 Open
Geospatial Consortium
91
OGC 10-135 EO Satellite Tasking Extension for SPS
Exception Codes Applicable
OperationNotSupported Yes MissingParameterValue Yes
InvalidParameterValue Yes VersionNegotiationFailed No
InvalidUpdateSequence No OptionNotSupported No
NoApplicableCode Yes InvalidRequest Yes
An InvalidParameterValue exception shall be returned when the task identifier does not correspond to an existing non-expired feasibility study.
Requirement http:www.opengis.netspecEOSPS2.0reqsidtask-id-valid
Req 53. The task parameter of a SubmitSegmentByID request shall contain the
identifier of an existing and active feasibility study. If this is not the case, the server
shall return an exception with the code “InvalidParameterValue” as specified in
[OGC 06‐121].
An InvalidParameterValue exception shall be returned when segment identifiers listed in the request do not correspond to the ones listed in a previously generated feasibility
report and with a status different from ‘REJECTED’.
Requirement http:www.opengis.netspecEOSPS2.0reqsidsegment-id-valid
Req 54. The segmentID parameter of a SubmitSegmentByID request shall contain
the identifier of a feasible segment listed in the status report of the selected
feasibility study. If this is not the case, the server shall return an exception with the
code “InvalidParameterValue” as specified in [OGC 06‐121].
92 Copyright
© 2011
Open Geospatial
Consortium