Web services demo clients

Web services demo clients

by Jérôme Mouneyrac -
Number of replies: 2

Hi,

I created some web service demo clients: https://github.com/moodlehq/sample-ws-clients

I tried to make them very simple:
* no complex design patterns
* not using Moodle code
* using as less external libraries as I could.

You are welcome to review them, specially the Java ones. 

Cheers,
Jerome 

Average of ratings: -
In reply to Jérôme Mouneyrac

Re: Web services demo clients

by silvia bastos -

Dear Jerome,

Sorry but I haven't time to test your clients, but I think this is a great job to help people who are starting with Moodle Web-Services. This was very dificult for me due to lack of examples.

I'm using JAVA-XML/RPC clients and this code works for me (Repeat, I have not tried yours):

      String serverurl = domainName + "/webservice/xmlrpc/server.php" + "?wstoken=" + token;

The only difference with yours is that I don't use:  "&wsfunction=" + functionName in the serverurl variable.

 

Once more: Thanks for sharing your effort.