Using web service for applet-moodle communication

Using web service for applet-moodle communication

by Doug Holton -
Number of replies: 4
Hi,
Are there any examples out there of people using or creating a web service with moodle for communication with an external application or applet.

For example, tracking or logging how students use a simulation or game applet, or embedding an applet in a moodle quiz, etc.

Thanks,
-Doug

Average of ratings: -
In reply to Doug Holton

Re: Using web service for applet-moodle communication

by Frédéric Hoogstoel -
(this post is a copy of a comment of issue MDL-12886)

Hi,

we have developped for two years web services for Moodle 1.8.2, under PHP5.
They are available on http://www.assembla.com/spaces/MoodleWSPourGenDep.
On this site, you'll find also a PHP client and a Java client to test these web services and see how to use them.

These web services have been developped during a project name Bricoles and the PhD Thesis in Computer Science and Learning Sciences of Pierre-André Caron. See http://noce.univ-lille1.fr/projets/bricoles/ for the project and http://tel.archives-ouvertes.fr/tel-00156376 for the thesis.
The goal of these web services is to help learning design using Model Driven Engineering.
We (NOCE research team) have developped a Model Driven Learning Engineering workshop, including two free tools :
- ModX that allows to build learning design metamodels and model
- GenDep that allows to deploy a learning setup model on a learning platform.
GenDep uses web services to communicate with the learning platform.
GenDep already exploits Moodle, Ganesha, Claroline and Wiki MST webservices to deploy learning setups.

ModX and GenDep are available at : http://noce.univ-lille1.fr/projets/ModX/index.php

We have presented our project at french-speaking Moodlemoot 2007 and we will present the evolution of our work at french-speaking Moodlemoot 2008.

We are currently studying how to articulate our web services with those described in this issue.
In reply to Frédéric Hoogstoel

Re: Using web service for applet-moodle communication

by Catalin Maican -
Hi,

nice work in research.

I have taken a look at the methods in the web service for Moodle 1.8.2 at

http://svn2.assembla.com/svn/MoodleWSPourGenDep/Moodle1.8.2-PHP5/

Is it possible to _edit_ a user/course/etc. ?

Thank you,
Catalin
In reply to Catalin Maican

Re: Using web service for applet-moodle communication

by Frédéric Hoogstoel -
Up to now, our web services don't allow to edit a "Moodle object" (course, user, activity ...), except rename a category and rename a course.
Our WS are designed to be used by GenDep (or another deployement application) to deploy a learning arrangement, not to adapt an existing one. This may evolve in the future.
Currently, these WS are also designed to contextualize the learning arrangement, by using moodle objects that already exist on the server, without modifying it. Exemple given, when the learning arrangement model includes users, you can import existing users from the moodle server when you deploy the model.