Changeset 399


Ignore:
Timestamp:
Mar 27, 2013, 12:06:12 AM (11 years ago)
Author:
lucadelu
Message:

move information about return code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/services/howtos.txt

    r396 r399  
    1515    :depth: 3
    1616    :backlinks: top
     17
     18Common informations
     19----------------------
     20
     21.. Note:: The service has to **return 3 if the process run successfully instead it
     22          return 4** if the process end with an error.
    1723
    1824Python
     
    124130The return statement has to be an integer: corresponding to the service status code.
    125131
    126 The module should **return 3 if the process successfully ended otherwise it should return 4**.
    127132To add a message for the wrong result you can add the massage to ``conf["lenv"]["message"]``,
    128133for example:
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