Coding Process with XML
The idea is to prepare chaining process in XML server side.
Example :
<wps:Execute service="WPS" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsExecute_request.xsd"> <ows:Identifier>KMLgenerator</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>Features</ows:Identifier> <ows:Title>The Features</ows:Title> <ows:Reference xlink:href="projection" method="POST" mimeType="text/xml" encoding="UTF-8"> <wps:Body> <wps:Execute service="WPS" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsExecute_request.xsd"> <ows:Identifier>KMLgenerator</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>InputSRS</ows:Identifier> <ows:Title>The input SRS</ows:Title> $[SRS] </wps:Input> <wps:Input> <ows:Identifier>InputFeatures</ows:Identifer> <ows:Title>The input feature</ows:Title> $[Features] </wps:Input> <wps:Input> <ows:Identifier>OutputSRS</ows:Identifier> <ows:Title>The output SRS</ows:Title> <wps:Data> <wps:LiteralData>EPSG:4326</wps:LiteralData> </wps:Data> </wps:Input> </wps:DataInputs> </wps:Execute> </wps:Body> </ows:Reference> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput> <ows:Identifier>KML</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute>
This example is a process to generate KML