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.
I'm a bit of a beginner to the Services module. On my site, I have a view that displays taxonomy fields from specific terms, filtered by a term from another vocabulary. For example, I have a vocabulary of terms called "nightclubs" and a vocabulary called "neighborhoods" that's used to sort each nightclub. Each nightclub is associated with a neighborhood via a taxonomy field. My view shows me a list of terms (nightclubs) in whatever neighborhood term is passed through the contextual filter, and a few fields for each term (name, description, address, etc).Read more
We're using Services with Service Views and Rest. When I visit the end point (domain.com/services/rest/tv) the data is displaying correctly but when I navigate to my other screen I find out I have been logged out of Drupal.
This error is displayed when I refresh Drupal:
Notice: Undefined index: rest_server in services_endpoint_callback() (line 196 of /vhosts/dev.worldviewweekend.com/html/sites/all/modules/contrib/services/services.module).
This happens every time I refresh the endpoint.
I don't want to store the data in Drupal. I need to read JSON data from external URL and render that in my theme.
I could use Feeds and JSONPath Parser module if I want to store in Drupal but I just want to read. I am also tying Services module.
Any suggestions, tips would be huge help!
Thanks in advance
Tons of great stuff for d7 and maybe most of it will not change for d8 but I just figured I would ask before I dig in.
Hello everybody! I am flash-developer and total newbi to Drupal. I have book "Flash with Drupal" by Travis Tidwell and I want to learn to develop flash apps with Drupal as back-end. So I installed Drupal 6.26 then several modules. So I have installed Chaos CTools 6.x-1.9, flashNode (6.x-3.1), Services (6.x-3.1), AMFPHP (6.x-1.0-beta2) and Views (6.x-2.16). I did all like was in the book, and everything was OK, no Error messages etc, but after installing Services, I’ve found in this module no services (in the book there was File service, menu service, node service etc).Read more
I need to integrate the flag module to services module in Drupal 5.
Yes I know that Drupal5 is too all but I'm doing a concepto test of my project, then in the near future I have to migrate to Drupal7.
If there isn't such integration, where I can read some documentation for developing such a module for Drupal5??
In practice session: we planned to create comment from client side, so we write a code using drupal_services_api.md.
Here the code is:
//planned to create comment in server from client.
$request_url = 'http://local.server.com/js-comment/cid';
$request_headers = array('Content-Type' => 'application/json');
$request_method = 'POST';
Hey everyone - I did a quick search and didn't find anything on d.o and g.d.o
Over in the Digital Strategy group we started talking about machine readable API listings http://groups.drupal.org/node/247253 and I was wondering if there's been any discussions or thoughts on how to do it with the Services module?
Edited: Added the right groups I forgot the first time. (Services and WSSCI)
Hi, I need to be logged in multiple sites on the same domain after logging to master website. I have two websites - domain.com and child.domain.com. When I logged in to master website - domain.com - I have to be automatically logged in to child website on the same subdomain, so that I can switch to it in a browser.
Note: any existing public solutions for multisite functionality do not fit, since I have to be logged in to child websites only If I logged to master. Not backwards.
*Site is on Drupal 7. Single code base.
I have a REST API I've created, and am selling access to it. One of my clients is a mobile developer, with plans for their app to use a single user account for API communications.
Typical use case for their mobile app is proposed to be:
2) do api operations
My question relates to steps 1 & 3 above: will that work with a single user account, and multiple mobile devices using the same user account? Will the logout by one device also logout all other "logged in" devices?Read more
Using Drupal 7, I successfully:
- installed the Ctools module 1.0
- installed the Services module 3.1
- copied Scpyc.php to services\servers\rest_server\lib
- applied the ctools patch to services from http://drupal.org/node/1355568
- created the noteresource sample from http://drupal.org/node/783460
- setup up the js-api/note endpoint
I tried http://localhost/js-api/note/1.json and receive the proper json but it also returns a 404 error. In the Apache error log, I have the following error:Read more
I have a REST API implemented in Services 3.x. The API uses session authentication. A client wants to access the API from a remotely hosted Flash application. We've placed a crossdomain.xml in our docroot, enabling the client's app to communicate with us, but they are having troubles getting past login.
Anyone have any examples of a REST Login within Flash?
I, personally, don't know Flash...
Have anyone worked on the SERVICES module?
This module works properlly but I can`t login on it.
I check connection in Firefox due to "Poster" tools and "HttpRequester" tool. I used link http://10.10.30.100/mk/?q=drupalgap/user/login.json in
"Content Type": application/x-www-form-urlencoded
For Drupal 6:406 Not Acceptable
Drupal 7: 401 Unauthorized: Missing required argument username
I gave for user "anonymous user" i "authenticated user" all possible permissions
I'm accessing the user.login service via json server from an iPad application. It appears that when it is successful, the web service returns the HTML of the home page, and when it does not, it returns a valid JSON string that provides the error message.
Is this the expected behavior? Or is it my set-up or configuration somewhere. Thanks!
I'm using cURL in PHP to import data with a one-to-many relationship: One "Place" can be related to Many "Documents" (using the "Entity Reference" module).
The syntax I'm looking for is for the last key/value pair in this array:
$node_data = array(
'title' => $title,
'type' => 'place',
'body[und][value]' => $body,
'field_place_country[und][value]' => $field_place_country,
'field_legacy_id[und][value]' => $field_legacy_id,
'field_place_alt_name[und][value]' => 'test a',
'field_place_related_document[und][target_id]' => $field_place_related_document_id,
I have to integrate a Drupal 7 site with a custom iPhone app. I need to be able to be able to perform the create, retrieve, update and delete process on the Drupal site using the iPhone app.
I have 20+ content types each with multiple custom fields. So what I need to know is will I have to write my own custom solution or is the Services module able to perform most/all of the functionality for me?Read more
Mobile4Social.com - create free Android application for your Drupal site, including push notification
Following the release of the new Google Cloud Messaging, we were able to release our first example for new approach for Drupal/mobile.
Currently all we offer is a combination of several Drupal modules (Google Cloud Messaging, Rules, Services and views) on the Drupal side, and a basic Android application on the other side.Read more