source: trunk/zoo-services/hello-js/cgi-env/hello.js @ 286

Last change on this file since 286 was 83, checked in by djay, 14 years ago

Move hello.js Services Provider file into cgi-env and correct zcfg using the new syntaxe

File size: 369 bytes
Line 
1
2function hellojs(conf,inputs,outputs){
3        outputs[0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";
4        //SERVICE_SUCEEDED
5        return Array(3,outputs);
6}
7
8function hellojs1(conf,inputs,outputs){
9        outputs[0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";
10        //SERVICE_SUCEEDED
11        return {"result":3,"outputs": outputs};
12}
13
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