source: branches/branch-1.4/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache @ 544

Last change on this file since 544 was 517, checked in by djay, 10 years ago

Update ZOO-Client API and add its jsdoc documentation.

File size: 3.2 KB
Line 
1<wps:Execute service="WPS" version="1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
2../wpsExecute_request.xsd" language="{{language}}">
3  <!-- template-version: 0.21 -->
4        <ows:Identifier>{{Identifier}}</ows:Identifier>
5        <wps:DataInputs>
6{{#DataInputs}}
7{{#is_literal}}
8                <wps:Input>
9                        <ows:Identifier>{{identifier}}</ows:Identifier>
10                        <wps:Data>
11                                <wps:LiteralData{{#dataType}} dataType="{{dataType}}"{{/dataType}}>{{value}}</wps:LiteralData>
12                        </wps:Data>
13                </wps:Input>
14{{/is_literal}}
15{{#is_bbox}}
16                <wps:Input>
17                        <ows:Identifier>{{identifier}}</ows:Identifier>
18                        <wps:Data>
19                                <wps:BoundingBoxData ows:crs="{{crs}}" ows:dimensions="{{dimension}}">
20            <ows:LowerCorner>{{lowerCorner}}</ows:LowerCorner>
21            <ows:UpperCorner>{{upperCorner}}</ows:UpperCorner>
22         </wps:BoundingBoxData>
23                        </wps:Data>
24                </wps:Input>
25{{/is_bbox}}
26{{#is_complex}}
27{{#is_reference}}
28{{#is_get}}
29                <wps:Input>
30                        <ows:Identifier>{{identifier}}</ows:Identifier>
31                        <wps:Reference xlink:href="{{href}}"{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}/>
32                </wps:Input>
33{{/is_get}}
34{{#is_post}}
35                <wps:Input>
36                        <ows:Identifier>{{identifier}}</ows:Identifier>
37                        <wps:Reference xlink:href="{{href}}" method="{{method}}">
38{{#headers}}
39                          <wps:Header key="{{key}}" value="{{value}}" />
40{{/headers}}
41                          <wps:Body>{{{value}}}</wps:Body>
42                        </wps:Reference>
43                </wps:Input>
44{{/is_post}}
45{{/is_reference}}
46{{^is_reference}}
47                <wps:Input>
48      <ows:Identifier>{{identifier}}</ows:Identifier>
49      <wps:Data>
50        <wps:ComplexData{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>{{#is_XML}}
51         {{{value}}}{{/is_XML}}{{^is_XML}}<![CDATA[{{{value}}}]]>{{/is_XML}}
52        </wps:ComplexData>
53      </wps:Data>
54    </wps:Input>
55{{/is_reference}}
56{{/is_complex}}
57{{/DataInputs}}
58        </wps:DataInputs>       
59        <wps:ResponseForm>
60{{#RawDataOutput}}
61{{#DataOutputs}}
62    <wps:RawDataOutput mimeType="{{mimeType}}">
63      <ows:Identifier>{{identifier}}</ows:Identifier>
64    </wps:RawDataOutput>
65{{/DataOutputs}}
66{{/RawDataOutput}}
67{{^RawDataOutput}}
68    <wps:ResponseDocument{{#storeExecuteResponse}} storeExecuteResponse="{{storeExecuteResponse}}"{{/storeExecuteResponse}}{{#lineage}} lineage="{{lineage}}"{{/lineage}}{{#status}} status="{{status}}"{{/status}}>
69{{#DataOutputs}}
70{{#is_literal}}
71      <wps:Output{{#dataType}} dataType="{{dataType}}"{{/dataType}}{{#uom}} uom="{{uom}}"{{/uom}}>
72        <ows:Identifier>{{identifier}}</ows:Identifier>
73      </wps:Output>
74{{/is_literal}}
75{{^is_literal}}
76      <wps:Output{{#asReference}} asReference="{{asReference}}"{{/asReference}}{{#schema}} schema="{{schema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>
77        <ows:Identifier>{{identifier}}</ows:Identifier>
78      </wps:Output>
79{{/is_literal}}
80{{/DataOutputs}}
81    </wps:ResponseDocument>
82{{/RawDataOutput}}
83  </wps:ResponseForm>   
84</wps:Execute>
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png