Changes between Version 9 and Version 10 of ZooWebSite/ZOOAPI/Examples


Ignore:
Timestamp:
Nov 10, 2010, 3:39:57 PM (14 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/ZOOAPI/Examples

    v9 v10  
    1414return {result: ZOO.SERVICE_SUCCEEDED, outputs: [ {name:"Result", value: myExecuteResult} ] };
    1515}}}
     16
     17In this really short example you can see how to create {{{ZOO.Process}}} class instance and call the {{{Execute}}} method on such an instance. Then you'll just need to return a JavaScript object  containing the attributes {{{result}}} and  {{{outputs}}}, which I'm sure you already know what is about. The first is about the status of the process (can be {{{ZOO.SERVICE_SUCEEDED}}},{{{ZOO.SERVICE_FAILED}}} ad so on), the last is obviously the resulting maps (take a look at the {{{maps}}} internal data structure used by ZOO Kernel in service.h).
     18 

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