Changes between Version 3 and Version 4 of ZooWebSite/ZooServices/Examples
- Timestamp:
- Nov 30, 2010, 9:21:03 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/ZooServices/Examples
v3 v4 3 3 ZOO Services are quiet easy to create once you have install ZOO Kernel and that you have chosen a code to turn into a ZOO service. Here are some !HelloWorlds in Python, PHP, Java and !JavaScript with link to the correpondant .zcfg files. 4 4 5 = Python=5 == Python == 6 6 7 7 You'll find here informations needed to deploy your own Python Services Provider. 8 8 9 == Python ZCFG requirements==9 === Python ZCFG requirements === 10 10 11 11 For each Services providen by your ZOO Python Services Provider, the ZCFG File have to be named as the Python module function name. … … 18 18 the name of the Python module to use as a ZOO Service Provider. For instance, if your script, located in the same directory as your ZOO Kernel, was named {{{my_module.py}}} then you should use {{{my_module}}} (the Python module name) as {{{serviceProvider}}} value in ZCFG file. 19 19 20 == Python Data Structure used==20 === Python Data Structure used === 21 21 22 22 The Python module's function to be used as a service have to : … … 44 44 }}} 45 45 46 == Sample ZOO Python Services Provider==46 === Sample ZOO Python Services Provider === 47 47 48 48 The following code represent a simple ZOO Python Services Provider which provides only one Service, the {{{HelloPy}}} one. … … 57 57 58 58 || [browser:trunk/zoo-services/hello-py/cgi-env/HelloPy.zcfg The ZCFG File] || [http://svn.zoo-project.org/zoo/?Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=HelloPy DescribeProcess]||[http://svn.zoo-project.org/zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=ZOO%20Project&RawDataOutput=Result RawDataOutput]|| 59 = PHP = 59 60 == PHP == 60 61 61 62 {{{ … … 70 71 [browser:trunk/zoo-services/hello-php/cgi-env/HelloPHP.zcfg Link to HelloPHP.zcfg] 71 72 72 = Java=73 == Java == 73 74 74 75 {{{ … … 91 92 [browser:trunk/zoo-services/hello-java/cgi-env/HelloWorldJava.zcfg Link to HelloJava.zcfg] 92 93 93 = Javascript=94 == Javascript == 94 95 95 96 {{{