Normal response parameters Normal response XML encoding Submit response example

15.2.3 Submit request XML encoding

All SPS servers shall implement HTTP POST transfer of the Submit operation request, using XML encoding only. The following schema fragment specifies the contents and structure of a Submit operation request encoded in XML: See annex B. EXAMPLE An example Submit operation request XML encoded for HTTP POST is: ?xml version=1.0 encoding=UTF-8? Submit xmlns = http:www.opengis.netsps xmlns:gml = http:www.opengis.netgml xmlns:swe =” http:www.opengis.netswe0” service = SPS version = 1.0.0 notificationTarget notificationID 1234 notificationID notificationURL http:mars.uni- muenster.de:8080WNSwns notificationURL notificationTarget sensorParam sensorID urn:x-ogc:object:sensor:IFGI:AXISPTZ_C:1:ifgicam01 sensorI D parameters InputParameter parameterID = task-start-time value swe:Time 2005-10-05T16:25:00+02:00 swe:Time value InputParameter InputParameter parameterID = task-end-time value swe:Time 2005-10-05T16:30:00+02:00 swe:Time value InputParameter parameters sensorParam timeFrame gml:TimeInstant gml:timePosition 2005-10-05T12:00:00 gml:timePosition gml:TimeInstant timeFrame Submit

15.3 Submit operation response

15.3.1 Normal response parameters

The normal response to a valid Submit operation request shall be SubmitRequestResponse. More precisely, a response from the Submit operation shall include the parts listed in Table 15 and illustrated in the following figures. This table also specifies the UML model data type plus the multiplicity and use of each listed part. 70 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Figure 33: SubmitRequestResponse parameter in UML notation Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 71 Figure 34: SubmitRequestResponse parameter in XMLSpy notation 72 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Table 15 — Parts of Submit operation response Name Definition Data type and values Multiplicity and use taskID Identifier for this task, needed for subsequent update requests token one mandatory status Identifier of the status of the request String enumerates: “confirmed” “rejected” “incomplete request” “pending” “rejected, alternatives available” one mandatory description Additional metadata String or reference to external source one optional estimatedToC Defines estimated time of completion gml:TimeInstant one optional alternative Provides alternatives if the sensors are not taskable as requested complex: InputParameter one to many optional LatestRespons eTime Submit response will be sent until LatestResponseTime at latest. In case that no response is received, the operation shall be evaluated as rejected. gml:TimeInstantType one mandatory a

15.3.2 Normal response XML encoding

The following schema fragment specifies the contents and structure of a Submit operation response, always encoded in XML. See annex B.

15.3.3 Submit response example

A Submit operation response for SPS can look like this encoded in XML: ?xml version=1.0 encoding=UTF-8? SubmitRequestResponse xmlns = http:www.opengis.netsps xmlns:gml = http:www.opengis.netgml taskID 433 taskID status confirmed status LatestResponseTime gml:TimeInstant gml:timePosition 2005-10-05T16:15:00 gml:timePosition gml:TimeInstant LatestResponseTime Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 73 estimatedToC gml:TimeInstant gml:timePosition 2005-10-05T16:55:00+02:00 gml:timePosition gml:TimeInstant estimatedToC SubmitRequestResponse

15.3.4 SubmitRequestResponse exceptions