“cancel” operation Session class

Table 32 — UML attribute and role in “status” operation normal response Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent status Message containing the status disposition CharacterString Values TBD Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent NOTE This general model assumes that operation failure will be signalled to the client in a manner specified by each protocol binding.

7.2.5.5 “cancel” operation

The “cancel” operation is more completely specified in Table 33. provides a UML model of the “cancel” operation that shows the complete Session class with the CancelRequest and CancelResponse classes and the class they use. The operation request includes the attributes and association role name listed and defined in Table 34. The normal operation response includes the attributes and association role name listed and defined in Table 35. Table 33 — Definition of “cancel” operation Definition Allows clients to cancel a previously initiated operation in a session, either currently running or completed. Any partial or completed result set from that operation is discarded. Receives Identifiers of session, previous operation request, and this operation request Returns Data describing success or failure of this operation Exceptions Missing Parameter Value, Invalid Parameter Value Pre-conditions Client has previously initiated identified session and operation Post-conditions Search request is cancelled, current result set erased resources freed unless otherwise specified Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 49 Figure 13 — “cancel” operation UML static model Table 34 — UML attributes and role in “cancel” operation request Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent requestIDtoCancel Unique requestID for operation execution to be cancelled Integer ID of request to cancel One Mandatory freeResources If set to FALSE, any partial result set is not deleted until the client terminates the session. Boolean Zero or one Optional Free resources if omitted 50 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Table 35 — UML attributes and role in “cancel” operation normal response Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent cancelledRequest Unique requestID for operation that was the target of the cancel request Integer ID of request cancelled One Mandatory diagnostic Text message describing the result of the cancel request CharacterString Values TBD Zero or one Optional NOTE This general model assumes that operation failure will be signalled to the client in a manner specified by each protocol binding.

7.2.6 Manager class