Webservices : create a forum

Webservices : create a forum

by Jérôme Lebrun -
Number of replies: 0

Hi,


Our application (php) manage the creation of courses, cohorts and teachers in moodle (using webservices).

Now, we want to generate forum when a course is created.

I implemant a new webservice to do this. When the script call the function add_moduleinfo(), this error is returned :

Erreur : SoapFault exception: [Receiver] error/modulemissingcode | ERRORCODE: modulemissingcode in /.../models/ws_model.php:305

When i test this function inside moodle with a script in local directory, there's no problem.


Is something missing in my new webservice ?


Thanks,


Jerome


Average of ratings: -