Getcapabilities Request

Feedback


Request Parameters

Parameters for the GetCapabilities operation are listed in the following table.

Table 1 Main parameters of the GetCapabilities operation request

Request Parameters O/M Description
SERVICE=CSW

Mandatory

Service type.

Request the CSW service, and the request type is "CSW".

REQUEST=GetCapabilities

Mandatory

Request name.

Request the GetCapabilities operation. And the request name must be set as "GetCapabilities".

AcceptVersions

Optional

The version number of the requested CSW service.

Versions are separated by commas. The most expected version should be written in the front, which currently only supports 2.0.2.

OutputFormats

Optional

 

AcceptFormats=application/xml

Formats of the request service document. Different formats are separated by comma. The most expected version should be written in the front.

If this parameter is omitted, or the parameter value is not the format supported by the server, it returns "application/xml" format.

Note:The case of parameters is not mandatory, and request parameters can be arranged in an arbitrary order.

Request Sample

An example of GetCapabilities operation is as follows:

<ServiceRoot>?SERVICE=CSW&VERSION=version&REQUEST=GetCapabilities

ServiceRoot is the service URI root directory. Please see Setting the Service URI.

For example, after the local SuperMap iServer CSW 2.0.2 service is started successfully, the URI of accessing the GetCapabilities operation is: http://localhost:8090/iserver/services.csw?SERVICE=CSW&REQUEST=GetCapabilities&VERSION=2.0.2。

Please refer to Response sample to see the result..