# ou_lts_soap

Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Open University LTS SOAP package

General instructions for installing Python modules and packages are at http://docs.python.org/install/index.html

This package requires Python 2.4 and later, but you'll have to provide WSGI somehow if you don't have Python 2.5 or later.

The simplest, at at present only supported, installation is as CGI scripts. This requires Python 2.5 or later.

You'll also need soaplib 1.0 and its dependencies.
http://pypi.python.org/pypi/soaplib/1.0.0
The most important of these dependencies is lxml.
http://pypi.python.org/pypi/lxml http://lxml.de/
For testing you'll needs suds, a SOAP client.
http://pypi.python.org/pypi/suds/0.4

To install as CGI follow the usual route of extract (if necessary), build and install. You may have to be root to install.

Finally, move the math_cgi.py script to your cgi-bin folder, with appropriate owner and permissions of course. You can rename this script if you wish.

The stub_math_cgi.py script provides stub services.

TESTING

The software can be tested from the unzipped distribution files (provided all the prerequisites are installed).

First, ensure that ou_lts_soap is in the PYTHONPATH environment variable. You will have to place it in as an absolute path.

Next, start the test web server at a port of your choice. The default is 8000. Here, for a change, we use 8080.

$python test_ou_lts_soap/serve_cgi.py 8080 Now run the stub test script$ python test_ou_lts_soap/test_stub_math_cgi.py 8080

Similarly, you can run the production test script

\$ python test_ou_lts_soap/test_math_cgi.py 8080

The expected outputs are recorded in the script files test_stub_math_cgi.py and test_math_cgi.py.

CHANGES

v0.1b

Provide MathML to speech text as a service (provided MathFlow is installed).

v0.1a

Initial release. Provides a stub service, which is sufficient to test installation.

# Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.