Parameter discussions ListStoredQueries operation .1 Request Semantics

88 Copyright © 2010 Open Geospatial Consortium See 14.2 for a description of the wfs:StoredQueryDescriptionType type.

14.5.5 Response

Figure 28 describes the response to a CreateStoredQuery operation. ExecutionStatusResponse + status : Charact erSt ring = OK {frozen} Figure 28 — CreateStoredQuery response The following XML Schema fragment defines the response to a CreateStoredQuery operation: xsd:element name=CreateStoredQueryResponse type=wfs:CreateStoredQueryResponseType xsd:complexType name=ExecutionStatusType xsd:attribute name=status type=xsd:string fixed=OK xsd:complexType xsd:complexType name=CreateStoredQueryResponseType xsd:complexContent xsd:extension base=wfs:ExecutionStatusType xsd:complexContent xsd:complexType The root element of the response is wfs:CreateStoredQuery that contains a single attributed named status. The only valid value for the status attribute is OK indicating that the stored query was successfully processed and stored by the server. Otherwise the server shall generate an exception see 7.5. 14.6 DropStoredQuery operations 14.6.1 Request Semantics The DropStoredQuery operation see Figure 29 allows previously created stored queries to be dropped from the system. DropStoredQuery + id : URI BaseRequest + service : CharacterString = W FS {frozen} + version : CharacterString = 2.0.0 {frozen} + handle [0..1] : CharacterString Figure 29 — DropStoredQuery request Copyright © 2010 Open Geospatial Consortium 89 14.6.2 XML encoding The following XML Schema fragment defines the XML encoding for the DropStoredQuery operation: xsd:element name=DropStoredQuery xsd:complexType xsd:complexContent xsd:extension base=wfs:BaseRequestType xsd:attribute name=id type=xsd:anyURI use=required xsd:extension xsd:complexContent xsd:complexType xsd:element The request simply accepts the identifier of the stored query to drop. The stored query identifier shall be encoded in XML using the id attribute on the wfs:DropStoredQuery element.

14.6.3 KVP encoding

Table 22 defines the KVP-encoding for the DropStoredQuery operation. Table 22 — Keywords for DropStoredQuery KVP encoding URL Component OMa Description Common Keywords REQUEST= DescribeStoredQueries See Table 7 Only keywords for all operations or the DescribeStoredQueries operation. STOREDQUERY_ID M A comma-separated list of stored query identifiers to describe. If the keyword is not specified then all stored queries offered by a server shall be described. a O = Optional, M = Mandatory

14.6.4 Response