source: branches/PublicaMundi_David-devel/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache @ 609

Last change on this file since 609 was 480, checked in by samsouk, 11 years ago

Libraries and templates for the Zoo WPS client Javascript implementation.

File size: 2.9 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">
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}}"/>
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{{#mimeType}}
39                          <wps:Header key="Content-type" value="{{mimeType}}" />
40{{/mimeType}}
41                          <wps:Body>{{{complexPayload}}}</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}}>
51                {{{complexPayload}}}
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    <wps:RawDataOutput mimeType="{{mimeType}}">
62      <ows:Identifier>{{identifier}}</ows:Identifier>
63    </wps:RawDataOutput>
64{{/RawDataOutput}}
65{{^RawDataOutput}}
66    <wps:ResponseDocument{{#storeExecuteResponse}} storeExecuteResponse="{{storeExecuteResponse}}"{{/storeExecuteResponse}}{{#lineage}} lineage="{{lineage}}"{{/lineage}}{{#status}} status="{{status}}"{{/status}}>
67{{#DataOutputs}}
68{{#is_literal}}
69      <wps:Output>
70        <ows:Identifier>{{identifier}}</ows:Identifier>
71      </wps:Output>
72{{/is_literal}}
73{{^is_literal}}
74      <wps:Output{{#asReference}} asReference="{{asReference}}"{{/asReference}}{{#schema}} schema="{{schema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>
75        <ows:Identifier>{{identifier}}</ows:Identifier>
76      </wps:Output>
77{{/is_literal}}
78{{/DataOutputs}}
79    </wps:ResponseDocument>
80{{/RawDataOutput}}
81  </wps:ResponseForm>   
82</wps:Execute>
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

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