GetCapabilities Response

Feedback


Request parameter

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

Table 1 Parameters for GetCapabilities Operation

Request parameter O/M Description

SERVICE

Mandatory

Service type.

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

REQUEST

Mandatory

Name of WFS request.

Request GetCapabilities operation. The request name needs to be set to "GetCapabilities".

ACCEPTVERSIONS

Optional

Request version.

The default value is "WFS".

SECTIONS

Optional

Name of the service metadata document component.

Unordered list composed by names of zero or more of service metadata document components. Names are separated by comma. If this parameter is ignored, the entire service metadata document will be returned.

This parameter is not supported by SuperMap iServer currently.

UPDATESEQUENCE

Optional

Version of service metadata document.

When the service metadata document changes, the version of service metadata document will increase. If this parameter is ignored, the newest version number will be returned.

This parameter is not supported by SuperMap iServer currently.

ACCEPTFORMATS

Optional

Output format.

Multiple output formats can be separted by comma. If values have been specified at the client, the result will be returned according to specified type. If this parameter is ignored, service metadata document of the MIME type will be returned.

This parameter is not supported by SuperMap iServer currently.

Request example

<ServiceRoot>?SERVICE=WFS&ACCEPTVERSIONS=version&REQUEST=GetCapabilities

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 GetCapabilities operation is: http://localhost:8090/iserver/services/data-world/wfs200?SERVICE=WFS&ACCEPTVERSIONS=2.0.0&REQUEST=GetCapabilities.

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" ?>

<GetCapabilities service="WFS" version="2.0.0"

    xmlns="http://www.opengis.net/wfs/2.0" 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" />

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