Ignore:
Timestamp:
Oct 27, 2014, 6:06:35 PM (10 years ago)
Author:
djay
Message:

Update ZOO-Client API and add its jsdoc documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache

    r480 r517  
    11<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">
     2../wpsExecute_request.xsd" language="{{language}}">
    33  <!-- template-version: 0.21 -->
    44        <ows:Identifier>{{Identifier}}</ows:Identifier>
     
    2929                <wps:Input>
    3030                        <ows:Identifier>{{identifier}}</ows:Identifier>
    31                         <wps:Reference xlink:href="{{href}}"/>
     31                        <wps:Reference xlink:href="{{href}}"{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}/>
    3232                </wps:Input>
    3333{{/is_get}}
     
    3636                        <ows:Identifier>{{identifier}}</ows:Identifier>
    3737                        <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>
     38{{#headers}}
     39                          <wps:Header key="{{key}}" value="{{value}}" />
     40{{/headers}}
     41                          <wps:Body>{{{value}}}</wps:Body>
    4242                        </wps:Reference>
    4343                </wps:Input>
     
    4848      <ows:Identifier>{{identifier}}</ows:Identifier>
    4949      <wps:Data>
    50         <wps:ComplexData{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>
    51                 {{{complexPayload}}}
     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}}
    5252        </wps:ComplexData>
    5353      </wps:Data>
     
    5959        <wps:ResponseForm>
    6060{{#RawDataOutput}}
     61{{#DataOutputs}}
    6162    <wps:RawDataOutput mimeType="{{mimeType}}">
    6263      <ows:Identifier>{{identifier}}</ows:Identifier>
    6364    </wps:RawDataOutput>
     65{{/DataOutputs}}
    6466{{/RawDataOutput}}
    6567{{^RawDataOutput}}
     
    6769{{#DataOutputs}}
    6870{{#is_literal}}
    69       <wps:Output>
     71      <wps:Output{{#dataType}} dataType="{{dataType}}"{{/dataType}}{{#uom}} uom="{{uom}}"{{/uom}}>
    7072        <ows:Identifier>{{identifier}}</ows:Identifier>
    7173      </wps:Output>
Note: See TracChangeset for help on using the changeset viewer.

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