resultType parameter Parameter discussion .1 expiry parameter

Copyright © 2010 Open Geospatial Consortium 79 13.3.2 lockId parameter For a GetFeatureWithLock request, a WFS shall generate a response document that includes the lock identifier used to lock features in the result set. The lock identifier shall be encoded in the response using the lockId attribute that is declared on the wfs:FeatureCollection element see 11.3.2. EXAMPLE The following XML fragment illustrates how to include the lockId attribute in the response to a GetFeatureWithLock operation: wfs:FeatureCollection lockId=00A01… … wfs:FeatureCollection The ellipses are meant to represent all the other components included in the GetFeatureWithLock response which are identical to the components included in the GetFeature response see 11.3.

13.4 Exceptions

If a WFS does not implement the GetFeatureWithLock operation then it shall generate an OperationNotSupported exception, indicating that the operation is not supported, if such a request is encountered. In the event that a web feature service does support the GetFeatureWithLock operation and encounters an error parsing the request, it shall raise an OperationParsingFailed exception as described in 7.5. In the event that a web feature service does support the GetFeatureWithLock operation and encounters an error processing the request, it shall raise an OperationProcessingFailed exception as described in 7.5. 14 Stored query management

14.1 Introduction

This clause describes the operations ListStoredQueries, DescribeStoredQueries, CreateStoredQuery and DropStoredQuery. All servers shall support the ListStoredQueries and DescribeStoredQueries operations and shall implement the GetFeatureById stored query see Table 1, 7.9.3.6. Servers that implement the Manage stored queries conformance class see Table 1 shall declare this in their capabilities document using the ManageStoredQueries constraint see Table 13 and shall implement the CreateStoredQuery and DropStoredQuery operations. 14.2 Defining stored queries 14.2.1 XML encoding The following XML Schema fragment defines the XML encoding for describing or defining a stored query expression: xsd:complexType name=StoredQueryDescriptionType xsd:sequence xsd:element ref=wfs:Title minOccurs=0 maxOccurs=unbounded xsd:element ref=wfs:Abstract minOccurs=0 maxOccurs=unbounded xsd:element ref=ows:Metadata minOccurs=0 maxOccurs=unbounded xsd:element name=Parameter type=wfs:ParameterExpressionType minOccurs=0 maxOccurs=unbounded xsd:element name=QueryExpressionText type=wfs:QueryExpressionTextType minOccurs=1 maxOccurs=unbounded