Data Types Operation Request – GetTask

Copyright © 2011 Open Geospatial Consortium 85 Table 38 — Properties in the GetTask data type Name Definition Data type and values Multiplicity and use task Pointer to the task on which information is requested. Task id see clause 7.3.1.6 One to many 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.7.4 Operation Response – GetTaskResponse

The GetTaskResponse data type represents the response to an SPS GetTask operation request. The GetTaskResponse data type is derived from the SWES ExtensibleResponse data type see clause 9 of [OGC 09-001] and therefore inherits all the properties contained in that data type. GetTaskResponse does not restrict the content model of ExtensibleResponse. Requirement http:www.opengis.netspecSPS2.0reqGetTaskResponsedataType REQ 63. The GetTaskResponse data type shall contain the properties defined for SWES ExtensibleResponse. In addition, it shall contain the property according to Table 39. Table 39 — Properties in the GetTaskResponse data type Name Definition Data type and values Multiplicity and use task the task that was requested Task see clause 7.3.1.6 One to many mandatory Requirement http:www.opengis.netspecSPS2.0reqGetTaskResponseproperties REQ 64. A task or tasking request contained in the GetTaskResponse shall provide status information for the state transitions it made according to Table 34 to Table 37. To clarify which status information is provided for a task in the GetTaskResponse, we consider the possible cases. If the state logger conformance class is not supported by the service then per default the service only stores the latest state of a tasktasking request. As a result, only information about the latest status would be included in the GetTaskResponse for a task – this is similar to the situation for the GetStatus operation depicted in Figure 22. If, on the other hand, the state logger conformance class is 86 Co supported by the service then the complete status information of a tasktasking request shall be provided in the GetTaskResponse. Figure 24 shows exemplary cases. Figure 24 – Status information returned in the GetTaskResponse for various exemplary taskstasking requests when the state logger conformance class is supported by the service 7.3.7.5 Exceptions Requirement http:www.opengis.netspecSPS2.0reqGetTaskResponseexceptions REQ 65. When an SPS server encounters an error while performing a GetTask operation, it shall return an exception message as specified in clause 7.2. In addition, if the minimum storage time of status information for finalized tasks has passed and the service already removed that information, it shall throw a StatusInformationExpired exception. pyright © 2011 Open Geospatial Consortium