Operation Response - CancelResponse Exceptions

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. 126 Copyright © 2011 Open Geospatial Consortium

7.3.13.6 Examples

Clause 9.6 provides example XML instances for the Cancel operation request and response. Copyright © 2011 Open Geospatial Consortium 127

7.4 SPS tasking parameters representation

SPS servers describe optional and mandatory tasking parameters. Clients use the definition to provide corresponding tasking parameter values. To ensure common understanding between client and server, a common exchange protocol is used to express both descriptions and tasking parameter values. SPS uses the types defined in the SweCommon Data Model OGC 08-094 to define tasking parameters. The tasking parameters of a given procedure are defined in the DescribeTaskingResponse . Clients have to use one of the encodings provided in the contents section of the capabilities e.g. TextEncoding, XMLEncoding, etc. to encode the tasking parameters in the various tasking requests. Listing 1 – example of an SPS tasking parameter description swe:DataRecord … swe:field name = taskTimeFrame swe:TimeRange definition = http:www.opengis.netdefpropertyOGC- SPS0TaskTimeFrame referenceFrame = http:www.opengis.netdeftrsBIPM0UTC optional = false updatable = false swe:uom xlink:href = http:www.opengis.netdefuomISO-86010Gregorian swe:TimeRange swe:field swe:field name = positioningChoice swe:DataChoice optional = true swe:item name = pointToLookAt swe:Vector definition = http:www.opengis.netdefpropertyOGC-SPS-X- CAM0PointToLookAt referenceFrame = http:www.opengis.netdefcrsEPSG04979 swe:coordinate name = lat swe:Quantity definition = http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlLatitude axisID = Lat swe:uom xlink:href = deg swe:Quantity swe:coordinate swe:coordinate name = long swe:Quantity definition = http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlLongitude axisID = Long swe:uom code = deg swe:Quantity swe:coordinate swe:coordinate name = h swe:Quantity definition = http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlVertical axisID = h swe:uom code = m swe:value swe:value swe:Quantity swe:coordinate swe:Vector swe:item swe:item name = relativePositioning swe:DataRecord definition = http:www.opengis.netdefpropertyOGC-SPS-X- CAM0RelativePan swe:field name = relativeHorizontalPan swe:Quantity definition = http:www.opengis.netdefpropertyOGC-SPS-X- CAM0RelativeHorizontalPan optional = true swe:uom code = deg swe:constraint swe:AllowedValues swe:interval -180 180 swe:interval swe:AllowedValues swe:constraint swe:Quantity swe:field swe:field name = relativeVerticalPan