SPS Exceptions OGC® Sensor Planning Service Implementation Standard

30 Co exceptionCode Operation Op er at io nNo tS upp ort ed M iss in gP ar am ete rV al ue In va lid P ara m ete rV al ue Ve rs io nN eg ot ia tio nF ai le d In va lid Up da te S eq ue nc e Op tio nN ot Su pp ort ed No Ap pl ic ab le Co de In va lid Re que st R eq uest E xt en si on No tS up po rt ed S ta tu sI nfo rm at ion E xp ir ed Mo di fic at io nO fF ina liz edT as k exceptionCode Operation defined by Name Cancel x x x x x x x x Confirm x x x x x x x x DescribeResultAccess x x x x x x DescribeTasking x x x x x x GetCapabilities x x x x x x x x GetFeasibility x x x x x x x GetStatus x x x x x x x GetTask x x x x x x x Reserve x x x x x x x Submit x x x x x x Update x x x x x x x x DescribeSensor x x x x x x UpdateSensorDescription x x x x x x x exception code defined by: OGC 09-000 OGC 06-121r3 this standard [OGC 09-000] [OGC 09-001] OGC 09-001 Figure 12 — SPS operations with applicable exceptionCodes Requirement http:www.opengis.netspecSPS2.0reqexceptionsUnknownIdentifier REQ 4. If the value of an identifier used in a request is unknown to the service, it shall return an InvalidParameterValue exception, with the exception locator naming the property of the request that contained the unknown value “task”, “procedure” etc. – lookup the actual name in the UML modeltable describing the properties of the request type. SPS may drop all information about a finalized task after the minimum storage time for that information has passed see documentation on minStatusTime provided in clause 7.3.3.3. In consequence, a previously valid task identifier in a GetStatus request can cause an InvalidParameterValue exception once the task information is no longer available at SPS. pyright © 2011 Open Geospatial Consortium Copyright © 2011 Open Geospatial Consortium 31 Requirement http:www.opengis.netspecSPS2.0reqexceptionsInvalidTaskingParameters REQ 5. If a service encounters in a TaskingRequest that either • the tasking parameters sent in the request are not structured according to the description provided in the DescribeTasking response, • the encoding used by the client is not supported by the service, or • the provided values are not encoded correctly, an InvalidParameterValue exception with locator taskingParameters shall be returned. Requirement http:www.opengis.netspecSPS2.0reqexceptionsModificationOfFinalizedTask REQ 6. If a client attempts to perform an operation on a finalized task like updating, confirming or cancelling it then the service shall return a ModificationOfFinalizedTask exception.

7.3 Package Overview

This standard defines 13 packages that correspond to the operations introduced in clause 7.1. Each package contains a number of data types and definitions. In addition, SPS makes use of two packages defined in other standards: The Common package, which contains data types shared by several operations, and the Contents package, which contains data types used in the GetCapabilities operation, are defined in OGC 08-094 and OGC 09-001 respectively. All SPS packages use data types specified in other standards. Those data types are normatively referenced herein, instead of being repeated in this standard. Figure 13 shows a UML diagram summarizing the external dependencies of the SPS. Note: The InsertSensor and DeleteSensor operations, defined in OGC 09-001 SWE Service Model, are not specified in this version of SPS. 32 Co Figure 13 — SPS model external dependencies Figure 14 shows a UML diagram summarizing the package dependencies of the SPS. Figure 14 — SPS package dependencies The following clauses describe each package in more detail. Each operation request type defined in the following sections requires to set the service and version properties. pyright © 2011 Open Geospatial Consortium