XML-RPC

A remote procedure call is when one program asks another program to execute a function. XML-RPC is a
standard for remote procedure calls where the call is encoded with XML and sent over HTTP. The XMLRPC
protocol was created by Dave Winer of UserLand Software in collaboration with Microsoft (see
www.xmlrpc.com/spec). It’s specifically targeted at distributed web-based systems talking to each other,
as when one Drupal site asks another Drupal site for some information.
There are two players when XML-RPC happens. One is the site from which the request originates,
known as the client. The site that receives the request is the server.

If your site will be acting only as a server, there’s nothing to worry about because incoming XML-RPC
requests use the standard web port (usually port 80). The file xmlrpc.php in your Drupal installation
contains the code that’s run for an incoming XML-RPC request. It’s known as the XML-RPC endpoint.


XML-RPC Clients
The client is the computer that will be sending the request. It sends a standard HTTP POST request to
the server. The body of this request is composed of XML and contains a single tag named <methodCall>.
Two tags, <methodName> and <params>, are nested inside the <methodCall> tag.
Related Posts:
  • Single Node Pages with Sidebars The point of starting off your template with a node page that doesn’t have sidebars isthis: you will inevitably have a page like this somewhere on your site. And many designers,well-meaning as they are, end up forgetting thi… Read More
  • Moving Directives from .htaccess to httpd.conf Drupal ships with two .htaccess files: one is at the Drupal root, and the other is automatically generatedafter you create your directory to store uploaded files and visit Configuration -> File system to tell Drupalwhere … Read More
  • Drupal-Optimizations While most optimizations to Drupal are done within other layers of the software stack, there are a fewbuttons and levers within Drupal itself that yield significant performance gains. Page CachingSometimes it’s the easy thin… Read More
  • Apache Pool Size When using Apache prefork, you want to size your Apache child process pool to avoid process poolchurning. In other words, when the Apache server starts, you want to immediately prefork a large pool ofApache processes (as man… Read More
  • Create the Other Pages Now that I have my basic page structure down, it’s time to start looking at the other pages in my site. Working with the styles I’ve already created (and creating new ones as I need to), I’ll create the following pages in my… Read More
  • Defining a Block Blocks are defined within modules by using hook_block_info(), and a module can implement multiple blocks within this single hook. Once a block is defined, it will be shown on the block administration page. Additionally, a si… Read More
  • Drupal's SEO tips Tthe default SEO options in Drupal provide you with basic features you need, such as search engine friendly URLs. 1.Configuring your Site Details2. Creating basic search engine friendly URLs3. Optimizing URL aliases4. Cont… Read More
  • Dedicated Servers vs. Virtual Servers Dedicated physical servers are going to outperform virtual servers when it comes to network I/O, diskI/O, and memory I/O, even in situations where the virtual server supposedly has been allocated moreresources (CPU, disk, an… Read More
  • Install Drupal Now that you’ve created your database, go back into your favorite browser (I use Chrome: http://www.google.com/chrome) and go to localhost:8888/d7-demo/install. php. Choose the “standard” installation profile for now (see Fi… Read More
  • XML-RPC A remote procedure call is when one program asks another program to execute a function. XML-RPC is astandard for remote procedure calls where the call is encoded with XML and sent over HTTP. The XMLRPCprotocol was created by… Read More
  • Drupal-based website Content is the primary building block of any website, whether it is constructed using Drupal or any other tool in the marketplace. Content is what visitors come to a website to find, and a lack of content is often the rea… Read More