WPS Execute Operation via HTTP GET

geoprocessing.info

Home  |  Terms of use

Execute via HTTP GET (optional)


Servers may implement HTTP GET transfer of the Execute operation request, using KVP to encode the parameters as specified below. KVP encoding is suitable for simple Execute requests. More complex requests such as those which require the inclusion of embedded complex values should transfer the Execute request via HTTP POST.


Execute Request

An example of a WPS Execute request via HTTP GET request is shown below.

http://foo.bar/foo?
   Request=Execute&
   Service=WPS&
   Version=1.0.0&
   Language=en-CA&
   Identifier=Buffer&
   DataInputs=InputPolygon%3D%40xlink%3Ahref%3Dhttp%253A%252F%252Ffoo.bar%252F
      some_WFS_request.xml%40method%3DPOST%40mimeType%3Dtext%252Fxml%40encoding
      %3DUTF-8%40schema%3Dhttp%253A%252F%252Ffoo.bar%252Fgml_polygon_schema.xsd
      %3B%20BufferDistance%3D400%40uom%3Dfeet&
   ResponseDocument=BufferedPolygon%3D%40asReference%3Dtrue&
   storeExecuteResponse=true&
   lineage=true&
   status=true

The following pages describe how such a request is constructed and decoded.


Execute Response

The response to an execute request is defined here.



For more information on structuring requests, please see the WPS Standard.