Operation Request - Cancel

124 Copyright © 2011 Open Geospatial Consortium Requirement http:www.opengis.netspecSPS2.0reqCancelRequestdataType REQ 100. The Cancel data type shall contain the properties defined for SWES ExtensibleRequest. In addition, it shall contain the property according to Table 61. Table 61 — Property in the Cancel data type Name Definition Data type and values Multiplicity and use task Pointer to the scheduled task to cancel. Task id , see clause 7.3.1.6 value shall be a pointer to a task that is scheduled by the service One mandatory id Note: the primary use of this property is to provide a pointeridentifier – see OGC 09-001 clause 16.3.1 for further details.

7.3.13.4 Operation Response - CancelResponse

The CancelResponse data type represents the response to an SPS Cancel operation request. The CancelResponse data type is derived from the SWES ExtensibleResponse data type specified in clause 9 of [OGC 09-001] and therefore inherits all the properties contained in that data type. CancelResponse does not restrict the content model of ExtensibleResponse . Requirement http:www.opengis.netspecSPS2.0reqCancelResponsedataType REQ 101. The CancelResponse data type shall contain the properties defined for SWES ExtensibleResponse. In addition, it shall contain the property according to Table 62. Table 62 — Properties in the CancelResponse data type Name Definition Data type and values Multiplicity and use result report with the outcome of the cancellation request StatusReport, see 7.3.1.5 Properties of StatusReport shall be used as defined in Table 63 One mandatory Copyright © 2011 Open Geospatial Consortium 125 Table 63 illustrates the usage of the StatusReport properties in a CancelResponse. Table 63 – StatusReport property usage in Cancel operation response property namecardinality Operation outcome Cancellation was accepted Cancellation was rejected task1 task identifier used in request estimatedToC0..1 NA 1 event code0..1 NA 2 percentCompletion0..1 NA 3 procedure1 identifier of procedure associated with scheduled task requestStatus code1 Accepted Rejected statusMessage0.. usage optional service should indicate why the cancellation was rejected taskingParameters0..1 NA 4 taskStatus code0..1 NA 5 updateTime1 point in time when cancellation was accepted point in time when cancellation was rejected alternative0.. NA 6 NA = not applicable, means the property is not used in the StatusReport Notes: 1 only applicable to scheduled tasks that have not been finalized yet 2,4,5 only applicable to tasking requests and tasks 3 only applicable to tasks that are being or have been executed 6 only applicable to tasking requests

7.3.13.5 Exceptions

Requirement http:www.opengis.netspecSPS2.0reqCancelResponseexceptions REQ 102. When an SPS server encounters an error while performing a Cancel operation, it shall return an exception message as specified in clause 7.2.