Installing Legion Web Services

From Legion
Jump to: navigation, search
Language: English  • Español

Legion Web Services works with the current BOINC Server stable version (Revision 22328, http://boinc.berkeley.edu/svn/branches/server_stable/).

Quick Install

  • Run the installer:
 install.py --appname <application name> --project_dir <directory> --task_dir <output directory> --tmp_dir <temporary directory> --log_dir <log directory>


Other installer options

Required parameters:

      --project_dir		project directory
      --appname                 application name

Optional parameters:

      --result_dir		the directory where the web service will save the results, the folder must have permission from apache, default: $project_dir/task/result
      --tmp_dir                temporary working directory, default: $project_dir/task/tmp
      --log_dir		the directory where logs are stored, default: $project_dir/task/logs

    Steps you should take now:
       -Check the file 'ws_config.py'.
       -Add the assimilator 'legion_assimilator' in the config.xml file of the project.
       -Start web service with './bin/ws_start' (to stop use './bin/ws_stop').

At the end of the installation

      Steps you should take now:
       -Check the file '$project_dir/py/Service/ws_config.py'.
       -Add the assimilator 'legion_assimilator' in the config.xml file of the project.
       -Start web service with './bin/ws_start' (to stop use './bin/ws_stop').

Samples

Within the installer there is a folder called samples with two applications that use the web service.

LWS-Cliente-Java

 java -jar LWS-Client.jar  username  email  password  http://IP:PORT/?wsdl

LWS-Client-PHP

 php Main.php  username  email  password  http://IP:PORT/?wsdl
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Legion Web Interface
Legion Web Service
Installation guide
Centralized BOINC Server Management
navigation end