Web service template

General plugins (Local) ::: local_wstemplate
Maintained by john saylor
Template for creating new web services
Latest release:
87 sites
11 fans
Current versions available: 1

Web service template plugin for Moodle 2.X 

It is a template designed as a starting point for developing third party web services. It includes a simple Hello World example.

To test:
1- install the plugin in Moodle 
2- Read, setup and run /client/client.php


john saylor (Lead maintainer)
Jérôme Mouneyrac: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Me and my fiance
    Tue, Oct 30, 2012, 11:11 AM
    Hi Jerome, With this plugin what services have you integrated Moodle with?
  • Tue, Oct 30, 2012, 11:49 AM
    Hi Paul,
    I mostly write core web services (so not a local plugin).

    Are you looking to more complex example of local plugin? You can have a look to http://docs.moodle.org/dev/Adding_a_web_service_to_a_plugin
  • Sun, Nov 4, 2012, 5:25 PM
    Hi Jerome, can I add another more services in this plugin
    to contain more than one service in web service
  • Thu, Oct 23, 2014, 3:22 PM
    We are seeking new maintainer for this. Thanks Jerome for all the provided support.
  • Tue, Jun 2, 2015, 8:59 PM
    i could be interested in maintaining this. what does it entail?
  • Tue, Jun 2, 2015, 9:02 PM
    Not much John, just maintain it so it is easy to create a local plugin with a web services. Actually it's more of a dev plugin, I am not sure it should be published on Moodle.org.
  • Fri, Apr 7, 2017, 3:42 PM
    This Template is helpful. But out of Date - the structure on Moodle 3.x is different, ex. Moodle use now a autoloader.
    I can provide a small Webservice Template for the community.

    The Documentation on https://docs.moodle.org/dev/Adding_a_web_service_to_a_plugin is to old and not very helpful
  • Tue, Oct 3, 2017, 12:02 PM
    Hi Patrick, Can you please provide your Web Service Template, that would be great
  • Fri, Jul 6, 2018, 7:35 AM
    Hi Patrick, I would also be very interested in a Moodle 3.X Web Service Template. Looking at trying to make something that the current web services don't accomplish for us.
  • Fri, Apr 23, 2021, 6:49 PM
    This seems to have been removed from Moodle HQ's github. I appreciate it's not up to date with 3.x, but its removal has broken moosh
Please login to post comments