This is a discussion and working group for anyone interested in the Services module and related modules. This module was created out of a need for a standardized solution of integrating external applications with Drupal, specifically Flash and Flex applications. Visit the issues page for all bug reports. Also visit the Services Handbook for information and examples.

bogdog400's picture

Aggregator Module Extension | consultant

Employment type: 

We need some help building a small module that will build an RSS block by implementing hook_aggregator_fetch so the URL will change dynamically with the page.

Let us know your time estimates and preferred payment methods.

Read more
jari.hollsten's picture

Check if a field value is present using json

I'm new to both services and json.
What I would need to achieve is to have a field on registering a new user to be checked if the value is present in another database using json. And if it is, go ahead registering the user otherwise throw an error message.

Read more
swafran's picture

Services REST node create - tnid not set


I'm using services and rest_server v.7.x-3.7 to update translations on my site.

When creating a node for a translation, I set the tnid, but it is always written in the db as 0.

If I change line 312 of from:

$stub_node = (object) array_intersect_key($node, array_flip(array('type', 'language')));


$stub_node = (object) array_intersect_key($node, array_flip(array('type', 'language', 'tnid')));

The tnid is properly written to the db and everything works fine.

Read more
freescholar's picture

Power To Connect with VoIP Drupal - Beta Launch!!!

The agaric team has launched the BETA version of We are using VoIP Drupal to enable Event Organizers and participants to send and receive messages using a regular phone.

BoF (Birds of a feather) organizers can send text updates to interested people that have signed up, or attendees can call +1 617 648-5578 and enter the extension of the BoF to hear updates, or subscribe to a Bof and receive txt updates.

Come help us test it out by posting your BoF session, or subscribing to one for DrupalCon Austin!

Read more
ersigui's picture

New install drupal, REST server failed to create a user by using poster(firefox) or postman (chrome).

Hi everyone, after googled around two days, I decided to create a discussion here. I don't know if anyone can noticed this problem. I'm trying to use poster add-on in firefox to create a user in drupal. The parameters are user:test, pass:test, After I post it, drupal created a user called test, BUT! the tricky thing is I can't login by using the username and the pass which I just created. Anyone knows why? My guess is that I config something bad, or miss-installed something. The article I followed is Thank you, any idea would be nice.

Read more
ldpm's picture

Having trouble accessing arguments from my custom Resource

Hi, I'm new to creating Resources, and I'm having difficulty accessing the raw body from the POST. That body contains JSON that looks like this:

“documents” : [ {
“vendor”: “ABC”,
“guid” : “1423700E-7600-4184-A795-BBD17A7969B1”,
“schema” : {
“location” : “”,
“country code” : “CA”,
“version” : “101” }
“entity” : [ { “name” : “Afilias Canada Corp.” } ],
“date last checked” : “2014-01-01”
“date last updated” : “2014-01-01”,
“permit validation” : true,
“fields” : [

Read more
aparna_kondala's picture

Why custom services perform better than services module

I have created custom services module which gives json output and I created a resource using services hook_services_resources().

The custom ones gives response in 200ms where as services module gives in 4sec.

What is the reason? Does it take lot of time for formatting?authentication?access checks?

Steps to reproduce-
Custom way--
1)Install drupal
2)Create a content-type of complicated nested field collections
3)create a menu in custom module
4)output of that menu is drupal_json_output of the node data.

Services way---

Read more
kerry.t.johnson's picture

Cannot create node via Drupal 7 Services REST API

Services 7.x-3.7

I'm trying to POST a new node to my Drupal server (http://blah/rest/node), but the server is always returning an error with the string:

Not found: Could not find the controller

I have the node resource enabled for my endpoint. Within the node resource, the update option is enabled, which, according to the comments, is for both updating and creating nodes:

update: Update or create Node entities based on UUID

Read more
Fixdit's picture

Developer | Liveposter

Employment type: 
Full time
Employment type: 
Part time
Employment type: 
Not allowed

We're looking for an enthusiastic Drupal developer for an exciting role developing an award winning software platform utilised by clients including as Burberry, McDonalds, Costa, and Channel 4 to schedule their national and international digital poster campaigns from a single online location.

You must have a high competency in Drupal module development to apply, as well as strong skills in PHP, JavaScript and a knowledge of XML.

The vision is to make this platform a game changer in the Digital Out of Home advertising industry.

Read more
LudvigAldrin's picture

Custom XMLRPC module - How to retrieve information about user?

Hi all!
I have now search the internet for about day to try to solve my questions.

I have Drupal 7, Service 3, Services Basic Authentication and have developed my own custom XMLRPC module (hook_xmlrpc). In this module I want to first see that the current users is authenticated. Then I want to retrieve some specific information from the user to be combined in with other information.

I know that the rest of this is working for user.retrieve over xmlrpc with basic authentication works like a charm.

Read more
j. ayen green's picture

Getting restws to do more than respond

Having discovered that Services just can't handle parsing XML correctly (attributes), and that altering the parser list to call simplexml doesn't, in the end, seem to call it, I'm trying my luck with restws, given that it seems to be the direction to head in anyway.

I have configured the path in my module as such:

function mymodule_restws_resource_info() {
    return array(
        'mymodule_person' => array(
            'label' => t('Person'),
            'class' => 'PersonResourceController',
            'menu_path' => 'api/person',
Read more
yonghan's picture

Unable to login from phonegap application

Hi all,currently i'm using drupal 7.29,services 3.5,phonegap 3.1,jquery 1.9.1,jquery mobile 1.3.2 . I cannot login by using the following script from phonegap application but able to login from extenral php file.Thanks a lot.




Read more
monaw's picture

Authentication and authorization with Services 3.5 CSRF token

I have a mobile application that use to work with Services 3.3 using REST and JSON. I upgraded to Services 3.5 and the authentication/authorization stopped working.

I've been struggling with this for a few weeks and would appreciate any help.

Here are the step our application use to perform which worked in Services 3.3:



  • Post to with username and password
  • Save return values (session_name and sessid) from previous call
  • Read more
    sarath.rajan's picture

    How to hook drupal's actual service resources

    Hi Friends,

    Am a newbie to service module and having a small doubt in it. I want to check an additional data while creating a node. I am using drupal's resource 'service_name/node' for creating node. But before creating I want to check the user's role also. I know that we can have our own resource using hook_service_resources and node_save(). But i want to know how to use drupal's defualt resource.

    Read more
    niccolox's picture

    Big Data Drupal: Cloudera Hadoop, MapReduce, Nutch, Solr, Aegir BOA, Drupal 7 ApacheSolr Views

    I am giving a talk at Badcamp on Big Data Drupal: Cloudera Hadoop, MapReduce, Nutch, Solr, Aegir BOA, Drupal 7 ApacheSolr Views

    I am trying to gather some other experts i.e. Cloudera / Hadoop / MapReduce + HyperDrupal + Twig etc to come and handle the bigger and deeper questions!topic/cdh-user/Uwuj1q7bWBY

    Read more
    markchitty's picture

    Service 3.0 and 'system/connect.json'

    I am currently trying to get the user authentication aspect of Service 3.0 working. I'm using the REST server, Services 3.5 and have run through the basic tests outlined here:

    I've moved on to adding user authentication but am stuck at the first hurdle ... I've been working with the following tutorial (which is excellent btw):

    And my main issue is that, when trying to interrogate the path with the following (using REST Console on Chrome):

    Read more
    fulat2k's picture

    Specifying HTTP method in action methods

    Hi folks,

    I've defined an action method which is exposed as a web service. However, all actions are called via the HTTP POST method.

    Is there a way to explicitly state which HTTP method a particular action supports?

    As an example, here's what I have defined:

    'validate' => array(
    'help' => 'Validates bonus code',
    'callback' => 'gs_bonus_validate_code',
    'access arguments' => array('access content'),
    'args' => array(
    'name' => 'code',
    'type' => 'string',

    Read more
    bjfany's picture

    canyin china(餐饮中国) app(ios, android) base on drupal

    进过两个月的开发,餐饮中国第二版在ios, android 市场上架了。

    1)最好维护一套代码支持多个平台,ios, android, win phone

    3)支持Restful API
    4)支持推送功能(push notification)

    最后确定了app使用jquery mobile进行开发,用phonegap进行封装,服务器使用drupal进行二次开发,app 与服务器的数据交互使用json.

    android 下载

    ios 下载

    Read more
    Fixdit's picture

    Develop Digital Poster Platform | The Cloud + Compass

    Employment type: 
    Not allowed

    We're looking for an enthusiastic Drupal developer for an exciting role developing an award winning platform used by clients such as McDonalds and Channel 4 to schedule their digital poster campaigns for sites including Piccadilly Circus, The London Underground and Westfield, etc.

    You must have a high competency in Drupal module development to apply, as well as strong skills in PHP, JavaScript and a knowledge of XML.

    Read more
    dorrisb's picture

    How to update node field from Actionscript3 using Services and AmfServer

    Hi Folks!

    I've set up the services 3 module and all the amfserver/zend dependencies, and can retrieve node information from D7 back into actionscript. However, I am soooo stuck on trying to update node fields back into Drupal. I've run and understand the tests provided by Rolf Vreijdenberger in his file. However, I see no example for doing the node update.

    The handlers have been set:
    proxy.setHandler("node", "retrieve", onResult, onStatus);
    proxy.setHandler("node", "update", onResult, onStatus);

    Read more
    Subscribe with RSS Syndicate content