Last updated June 17, 2013. Created by mariagwyn on May 24, 2013.
Edited by LeeHunter. Log in to edit this page.

In Drupal 8 and later, the XML-RPC module is included in Drupal core. When enabled, the XML-RPC Provides XML-RPC functionality.

The XML-RPC module gives external systems the opportunity to communicate with the site through the XML-RPC protocol. Pointing an XML-RPC client at http://sitename/xmlrpc.php allows this communication to take place. For more information, see the online handbook entry for XML-RPC API.

Performs one or more XML-RPC request(s).
Usage example:

$result = xmlrpc('http://example.com/xmlrpc.php', array(
  'service.methodName' => array($parameter, $second, $third),
));
  • $url: An absolute URL of the XML-RPC endpoint.
  • $args: An associative array whose keys are the methods to call and whose values are the arguments to pass to the respective method. If multiple methods are specified, a system.multicall is performed.
  • $headers: (optional) An array of headers to pass along.
  • @return
    • For one request:
      • Either the return value of the method on success, or FALSE.
      • If FALSE is returned, see xmlrpc_errno() and xmlrpc_error_msg().
    • For multiple requests:
      • An array of results. Each result will either be the result returned by the method called, or an xmlrpc_error object if the call failed. See xmlrpc_error().

Issue Queue for 8.x
http://drupal.org/project/issues/drupal?version=8.x&xmlrpc=tour.module
NOTE: Link may not work as issue queue is not yet created.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.