Normal response parameters Normal response XML encoding GetFeasibility response example

EXAMPLE An example GetFeasibility operation request XML encoded for HTTP POST is: ?xml version=1.0 encoding=UTF-8? GetFeasibility 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 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:55:00+02:00 swe:Time value InputParameter parameters timeFrame gml:TimeInstant gml:timePosition 2005-10-05T16:20:00 gml:timePosition gml:TimeInstant timeFrame GetFeasibility

14.3 GetFeasibility operation response

14.3.1 Normal response parameters

The normal response to a valid GetFeasibility operation shall be GetFeasibilityRequestResponse. More precisely, a response from the GetFeasibility operation shall include the parts listed in Table 12 and illustrated in the following figures. This table also specifies the UML model data type plus the multiplicity and use of each listed part. 62 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Figure 29: GetFeasibilityRequestResponse in UML notation Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 63 Figure 30: GFRR in XMLSpy notation 64 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Table 12: Parts of GetFeasibility operation response Name Definition Data type and values Multiplicity and use feasibilityID Identifier for the feasibility study ID one mandatory feasibility Identifier for the feasibility status String, enumerates: “feasible” “not feasible” “response delayed, notification will be sent” “request incomplete” “not feasible, alternatives available” one mandatory description Text description of the reponse StringOrRefType one optional LatestResponse Time GetFeasibility response will be sent until LatestResponseTime at latest. In case that no response is received, the operation shall be evaluated as non-feasible. gml:TimeInstantType one mandatory alternative Possible alternative to a given set of parameters will lead to status “not feasible” InputParameterType one to many optional

14.3.2 Normal response XML encoding

See annex B.

14.3.3 GetFeasibility response example

A GetFeasibility operation response for SPS can look like this encoded in XML: ?xml version=1.0 encoding=UTF-8? GetFeasibilityRequestResponse xmlns = http:www.opengis.netsps xmlns:gml = http:www.opengis.netgml feasibilityID 17 feasibilityID feasibility feasible feasibility LatestResponseTime gml:TimeInstant gml:timePosition 2005-10-05T16:10:00 gml:timePosition gml:TimeInstant LatestResponseTime GetFeasibilityRequestResponse

14.3.4 GetFeasibility exceptions