Services

Authentication in Drupal's services module

I have been struggling with user authentication for the services module ( 5-x.0.92). This is the first version I installed. However, by checking the handbook and the outdated examples, it's not hard to tell significant change has been made in this version, especially the user authentication part which requires api keys, HMAC with sha256 hashing function, etc.

Java XML-RPC client for Drupal's Services module

I am trying to write a java xmlrpc client for Drupal's Services module. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error when I tried to call "system.connect()". This error occurs no matter which library I use, Redstone or Apache.

After some searching, I found this: http://www.openrdf.org/forum/mvnforum/viewthread?thread=86
Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. ...

Testing out Drupal's Service module using Python

Drupal's Services module seems to be a right fit for my purpose as I am in the process of integrating a desktop application into my Drupal website. I decided to give it a quick test using Python. Although I don't know much about Python, there's an example  available on Drupal.org and it's a scripting language.

Syndicate content

Back to top