Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

everyone. I'm a newbie in Drupal Services API. I figured out how to create an XMLRPC request and as far as I understood the data is posted using the HTTP POST request.

Now, how do I handle it? Do I have to add some kind of a listener in drupal that will handle such requests?

If there is a decent tutorial available, can you please post me the link?

My task is to create a node using the data received via XMLRPC.

Thanks in advance.

share|improve this question

migrated from stackoverflow.com Jun 21 '11 at 14:24

This question came from our site for professional and enthusiast programmers.

Are you using the core's XMLRPC interface or the services modules. In any cases, which version of Drupal and the module are you using? – Pierre Buyle Jun 21 '11 at 13:10
I'm using Drupal 7 with services module installed. – Jean Jun 21 '11 at 16:00

You can activate the XML-RPC Server that comes with Services: http://drupal.org/project/services

Take a look at the resources that comes with Services and in the Services documentation for how to use existing resources or how to create your own.

share|improve this answer

The simplest way to handle the request is with hook_xmlrpc.

share|improve this answer

You also may want to use Drupal's built-in XML-RPC capabilities instead of using the Services module. There are both client and server examples in the Examples Project's XML-RPC Example.

share|improve this answer

Here is a tutorial that I posted about Titanium and Drupal

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.