Channel based filteringSPS notification topics
Copyright © 2011 Open Geospatial Consortium 137
The OASIS WS-Topics standard defines the TopicNamespace type as a mean to group and describe channelstopics that belong to a specific target namespace. The topic
namespace of this standard is defined through Listing 9 and Table 67.
Listing 9 – SPS Topic Namespace
wstop:TopicNamespace xmlns:wstop=http:docs.oasis- open.orgwsnt-1 xmlns:sps=http:www.opengis.netsps2.0
name=SPS-Topic-Namespace targetNamespace=http:www.opengis.netsps2.0 final=true
wstop:Topic name=TaskEvent wstop:Topic name=TaskFailure
messageTypes=sps:StatusReport wstop:Topic name=TaskCancellation
messageTypes=sps:StatusReport wstop:Topic name=TaskCompletion
messageTypes=sps:StatusReport wstop:Topic name=TaskConfirmation
messageTypes=sps:StatusReport wstop:Topic name=TaskUpdate
messageTypes=sps:StatusReport wstop:Topic name=DataPublication
messageTypes=sps:StatusReport wstop:Topic name=TaskReservation
messageTypes=sps:ReservationReport wstop:Topic name=TaskSubmission
messageTypes=sps:StatusReport wstop:Topic name=”ReservationExpiration”
messageTypes=”sps:ReservationReport” wstop:Topic
wstop:Topic name=”TaskingRequestEvent” wstop:Topic name=”TaskingRequestExpiration”
messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestRejection”
messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestAcceptance”
messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestPending”
messageTypes=”sps:StatusReport” wstop:Topic
wstop:TopicNamespace
The following table defines which events are published on which topics. The events and their encoding are defined in Table 64.
138 Copyright © 2011 Open Geospatial Consortium Requirement
http:www .opengis.netspecSPS2.0reqEventstopics
REQ 106. An SPS that supports channel based filteringnotification shall
publish events on topics according to Table 67. Such a service shall publish only those SPS events that belong to topics listed
in the topic set of the service the topic set is part of the notification metadata contained in the Capabilities of the
service, see clause 7.3.2.4. Events from a different topic namespace may be published by the service.
Note: this is to ensure that an SPS instance is publishing SPS events according to what the service advertised via its topic set.
Requirement http:www
.opengis.netspecSPS2.0reqEventstopicsconditions REQ 107.
Table 67 also defines which topics shall be implemented by an SPS that supports channel based filteringnotification topics in
general and which shall be implemented under certain conditions. The required topics shall be listed in the topic set of
the service.
Each SPS may implement additional topics defined in other standards like [OGC 09- 001].
Copyright © 2011 Open Geospatial Consortium 139
Table 67 — Topics and the events posted on them
Topic name Parent topic
name Name of events
posted on topic Use at SPS that realizes
channel based filteringnotification topics
TaskEvent -
no events are posted on this topic- it is only used for grouping of topics in the SPS topic namespace
TaskSubmission TaskEvent TaskingRequestAccepted the StatusReport encoding
the event shall have an event property with value
TaskSubmitted mandatory
DataPublication TaskEvent DataPublished
TaskCompletion TaskEvent TaskCompleted
TaskFailure TaskEvent TaskFailed
TaskReservation TaskEvent TaskingRequestAccepted the ReservationReport
encoding the event shall have an event property with
value TaskReserved conditional
implement if ReserveConfirm
operations are realized ReservationExpir
ation TaskEvent ReservationExpired
TaskConfirmatio n
TaskEvent TaskConfirmed TaskUpdate TaskEvent
TaskUpdated conditional
implement if Update operation is realized
TaskCancellation TaskEvent TaskCancelled conditional
implement if Cancel operation is realized
TaskingRequestE vent
- no events are posted on this topic- it is only used for
grouping of topics in the SPS topic namespace TaskingRequest
Acceptance TaskingRequest
Event TaskingRequestAccepted optional
1
TaskingRequestR ejection
TaskingRequest Event
TaskingRequestRejected optional
1
TaskingRequestE xpiration
TaskingRequest Event
TaskingRequestExpired mandatory TaskingRequestP
ending TaskingRequest
Event TaskingRequestPending optional
1
Notes: 1 If topic is implemented then publication of according event is required.
140 Copyright © 2011 Open Geospatial Consortium Clause 9.6 describes a tasking scenario with example XML instances, one of which is an
SPS Capabilities document. It contains an exemplary topic set.
9 SOAP binding