Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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
add comment

4 Answers 4

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
add comment

The simplest way to handle the request is with hook_xmlrpc.

share|improve this answer
add comment

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
add comment

Here is a tutorial that I posted about Titanium and Drupal

share|improve this answer
add comment

Your Answer

 
discard

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