ListStoredQueries Response

Feedback


Response introduction

After implementing the ListStoredQueries operation, the response document returned would be in XML format. The document will list supported by WFS 2.0.0 service. SuperMap iServer only provides the GetFeatureById method. The ListStoredQueriesResponse element is the root element of the response document, which can contain multiple StoredQuery elements and each StoredQuery element indicates one stored query method specified by id property. The StoredQuery element can contain one or more ReturnFeatureType and Title elements. The Title element is used to assign human-readable titles for stored query methods. Values of multiple xml:lang attributes are different and the default value of the xml:lang attribute is "en". The ReturnFeatureType element is sued to specify feature type list acquired through the GetFeatureById stored query method.

Response example

The response of the Request example is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<wfs:ListStoredQueriesResponse xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:gml="http://www.opengis.net/gml/3.2">

    <wfs:StoredQuery id="urn:ogc:def:query:OGC-WFS::GetFeatureById">

        <wfs:Title xml:lang="en">urn:ogc:def:query:OGC-WFS::GetFeatureById</wfs:Title>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Ocean</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:OceanBoundary</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:ContinentBoundary</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:CountryBoundary</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Lakes</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Grids</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:OceanLabelP_C</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:OceanLabelP_E</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Rivers</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Countries</wfs:ReturnFeatureType>

        <wfs:ReturnFeatureType xmlns:World="http://www.supermap.com.cn/World">World:Capitals</wfs:ReturnFeatureType>

    </wfs:StoredQuery>

</wfs:ListStoredQueriesResponse>