Skip to content

The XMLRPC webservice that was removed from core in Moodle 4.1

License

Notifications You must be signed in to change notification settings

moodlehq/moodle-webservice_xmlrpc

Repository files navigation

XML-RPC webservice protocol

XMLRPC webservice CI

  • Maintained by: Moodle HQ
  • Copyright: 2009 onwards, multiple contributors.
  • License: GPL-3.0

Integrate Moodle with other systems using the XML-RPC protocol.

Description

Using this webservice protocol plugin, other services can consume Moodle's webservices using the XML-RPC protocol.

It supports the complete web services stack of Moodle (authentication and authorisation, tokens, services and functions, restrictions...) and has access to all the functions defined there.

This plugin was part of core until Moodle 4.0, finally removed for Moodle 4.1 and transferred here to become a contrib plugin. Main reason for that was the dependency on the, also removed from PHP since version 8.0, php-xmlrpc extension.

See MDL-70889 for more information about the move.

Requirements

  • Moodle site >= 4.1.
  • php-xmlrpc extension installed and enabled.

Installation

  • Via git, or direct (zip) download from the plugins directory or from GitHub.
  • Add it to the webservice/xmlrpc directory.
  • Install / upgrade the Moodle site.
  • Follow the "Using web services" docs to enable and configure everything needed to start using it.

Usage

(add here some examples: - authentication with token, a few calls...). Ideally curl requests.

Useful links

Roadmap

No roadmap right now.