- Python > 2.6 (no Python 3 support)
- zc.buildout
pip install zc.buildout - Setuptools
pip install setuptools - libSBML
pip install python-libsbml
From within the sbml_mod_ws directory (where the bootstrap.py file is located) run:
python bootstrap.py
./bin/buildout
./bin/gencodeConfigure service (if needed) by editing parts/etc/pyserver.cfg. Note that the port in parts/etc/pyserver.cfg must correspond to the one defined in the WSDL file src/sbmlmod/SBMLmod.wsdl.
To run tests, type ./bin/test.
The web service can be started by ./bin/serverd start or ./bin/serverd debug. For more serverd parameters, run ./bin/serverd.
If the service should stop unexpectedly (e.g. by shutting down the computer), you need to clean up the server by running ./bin/serverd stop before starting it again (with ./bin/serverd start).
The webservice provides an WSDL file (src/sbmlmod/SBMLmod.wsdl) that must be made available via some webserver (e.g. Apache or nginx). The file contains a description of the service in an XML format. The service itself can be accessed via SOAP. An example client with further information is provided here src/testClient.