Execute Request

Feedback


SuperMap iServer WPS currently provides POST:

Request Parameters

Execute obeys HTTP protocol. The client uses KVP encoding to send request. The main request parameters are shown as follows:

Table 1 The Parameters of a Execute Request

Request Parameters O/M Description
SERVICE=WPS

Mandatory

Service type.

Request WPS service and shall be "WPS".Request=GetTile

REQUEST=Execute

Mandatory

The request operation name.

The request Execute operation. The name must be Execute.

VERSION=version

Mandatory

Supported version.

The version is 1.0.0.

LANGUAGE=Language

Optional

Supported language names.

Listed in the Languages element of Capabilities, e.g., en-US, zh-CN.

IDENTIFIER=Identifier

Mandatory

The suboperation name of the Execute operation to query.

DATAINPUTS=DataInputs

Optional

The input parameter description.

List the input parameter description in the Input node.

RESPONSEFORM=ResponseForm

Optional

The return WPS reponse type.

Include ResponseDoucument and RawDataOutput. Only ResponseDocument is supported currently.

STOREEXECUTERESPONSE=storeExecuteResponse

Optional

The bool type. Default is false.

Whether to store the result document.

Note: The parameter is valid only when WPS response type is ResponseDocument.

LINEAGE=lineage

Optional

The bool type. Default is false.

Whether to include DataInputs and OutputDefinition in the response result.

Note: The parameter is valid only when WPS response type is ResponseDocument.

STATUS=status

Optional

The boolean value.

Whether to return the result status. Currently not supported.

 

GET Request

Execute currently doesn't support GET request.

POST Request

Execute obeys HTTP protocol. The client uses KVP encoding to send request. e.g., after the local SuperMap iServer 6R WPS 1.0.0 service is started successfully, the URI of accessing the Execute operation is: http://localhost:8090/iserver/services/spatialanalyst-changchun/wps100?SERVICE=WPS&REQUEST=Execute&VERSION=1.0.0.

The request sample is shown as follows:

The <wps:Reference> node both suports URI method and XML method. e.g., <wps:Reference xlink:href=http://localhost:8090/iserver/services/data-world/wfs100?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=World:Capitals"/> can be modified as <wps:Reference xlink:herf="http://localhost:8090/iserver/output/xml/WFS_request.xml"/>

WFS_request.xml:

Please refer to Response sample to see the result.