ListStoredQueries Request

Feedback


Request parameter

Parameters of KVP encoding request for the ListStoredQueries operation are listed in the following table:

Table 1 Parameters for ListStoredQueries operation

Request parameter O/M Description

VERSION

Mandatory

Request version.

Request WFS 2.0.0 service. The request version number needs to be set to 2.0.0.

SERVICE

Mandatory

Service type.

Request WFS 2.0.0 service. The request type needs to be set to WFS.

REQUEST

Mandatory

Name of WFS request.

Request ListStoredQueries operation. The request name should be set to ListStoredQueries.

NAMESPACES

Optional

Namespace.

Used to specify namespaces and their prefixes. The format shall be xmlns(prefix,escaped_url). If the prefix is not specified then the default namespace shall be assumed. More that one namespace may be bound by specifying a comma separated list of xmlns() values.

This parameter is not supported by SuperMap iServer currently.

VSPs

Optional

Vendor-specific parameter.

A server may implement additional KVP parameters that are not part of this International Standard. These are known as vendor-specific parameters. VSPs allow vendors to specify additional parameters that will enhance the results of requests. A server shall produce valid results even if the VSPs are missing, malformed or if VSPs are supplied that are not known to the server. Unknown VSPs shall be ignored.

A server may choose not to advertise some or all of its VSPs. If VSPs are included in the Capabilities XML, the ows:ExtendedCapabilities element shall be extended accordingly. Additional schema documents may be imported containing the extension(s) of the ows:ExtendedCapabilities element. Any advertised VSP shall include or reference additional metadata describing its meaning. WFS implementers should choose VSP names with care to avoid clashes with WFS parameters defined in this International Standard.

This parameter is not supported by SuperMap iServer currently.

Request example

ServiceRoot>?SERVICE=WFS&VERSION=version&REQUEST=ListStoredQueries

ServiceRoot is the URI root directory of the service, please refer to Setting the Service URI.

For example, when the SuperMap iServer WFS 2.0.0 server at local computer has been started successfully, the URI to access the ListStoredQueries operation is: http://localhost:8090/iserver/services/data-world/wfs200?SERVICE=WFS&VERSION=2.0.0&REQUEST=ListStoredQueries.

Please refer to Response example to see the result.

That is, to implement the POST request onhttp://localhost:8090/iserver/services/data-world/wfs200 and the request body is as follows:

<?xml version="1.0" ?>

<ListStoredQueries service="WFS" version="2.0.0"

    xmlns="http://www.opengis.net/wfs/2.0" xmlns:myns="http://www.myserver.com/myns"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://www.opengis.net/wfs/2.0

                       http://schemas.opengis.net/wfs/2.0.0/wfs.xsd">

</ListStoredQueries>

The response result of this example is identical to that of KVP encoding request, please refer to Response example.