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.
"Services Field" module?
Is there a module that caches "services" requests to node fields? For example:
$node->field_service_handler[0]['handler_url']
$node->field_service_handler[0]['handler_request']
This would be useful for service requests to take advantage of the various node-level modules, such as comments, views, etc. I have this working somewhat. The question now is "formatters".
This type of module might be unique because the choice of formatter is not easy to determine from the node type's "Display fields" menu.
Read moreintegrating j2ee web application into drupal
Hello every one ,
I'm working on a intranet project and evaluating the possibility to use drupal as a cms where using services module (if possible) integrate other web applications , i.e authenticate in drupal on some kind of Single sign on or ldap database, and be able to access an external web application from drupal
thanks taking time to reply
Read moreServices module uses session ID instead of node ID when node.get is called by Flash
Hi
I'm trying to use the services module to connect Flash to Drupal. I followed some examples I found online as well as the example included in the book "Flash with Drupal".
I can connect to Drupal via Flash and get my Session ID but for the life of me I can't get the node.get call to work. I keep getting the error message: "Could not find the node".
Here is how I call node.get to try and get node 1 (which of course does exist!)
var nodeResponse:Responder = new Responder ( onNodeLoad, onError)
// call Drupal to get node
drupal.call("node.get", nodeResponse, sessionID, 1);
system.connect() no longer working with ActionScript 2
I am working on taking a Flash game developed by a Flash freelancer and having it save answers to Drupal. The freelancer used ActionScript 2 so the examples in the Flash with Drupal book don't work. He also used Flash CS5, so I had to manually download and add the mx.rpc classes.
I was able to get it to work previously, but around the beginning of March it stopped working. I don't believe I changed any configuration settings in Services (I'm not using any kind of authentication currently) and this happens with User 1 so I've been able to rule out permissions.
Read moreConfiguring Services for consumption by external site.
I'm looking to create an api for my site where another site can consume and display certain data from my site. Ideally I would like to limit access to only those domains that have applied for an API key. I also am think that the JSON server makes the most sense. I've tried to go through the documentation, but there are stil a number of think that are not clear.
Read moreAccess the domain variable inside custom services module
I've written a custom services module that is used by both android and iphone clients. Each of these clients have their own domain, android and iphone respectively.
Now, I've never had a reason to know which was making requests to the module until now (I have to give different stream URLs for different clients). So, my question is how do I access the domain being used in the request within my services module?
Any and all help greatly appreciated.
Thanks!
Read moreProblems using Services and SOAP Server Modules
Hello, everyone:
Read moresearch.searchNodes() returns only 10 nodes
Hello,
I'm using Services to push data from various sources as nodes. I need a way how to determine if some article was already inserted, or I should push it again. So I'm doing search.searchNodes(key, username) - search by username which "publishes" the nodes.
My issue is, that if user published more than 10, I'm getting only 10 newest articles.
I'm using Drupal 5.
Do you have any idea on how to solve this?
Regards,
Jan
How to begin
Hi guys,
I really need help.
I recently installed the Services Module and whilst I understand it is very powerful, I could not figureout how to set up any service.
I am in the final stages of developing an Android application. It has to connect to my Drupal site to upload data which will be saved as nodes or update existing nodes.
So for this process, I need the service module up, running and responding.
I need step-by-step and simple instructions please.
Read moreServices 3.x and Drupal 7
Our company is planning to use the services with drupal to integrate with our other services.
I have done some work with 6-2x and was able to implement and test a client for our purposes using xmlrpc.
We would like to go with 7x I was doing some testing with the services module and 7x, using curl and no matter what I do, I get 404s which bring back the html text of the page, rather than an appropriate response. I have tried curl with the rest and an xmlrpc client testing tool with the xmlrpc
Read moreI just need to echo a field from a view. (This should be simple?)
Hello from a desperate noob. I put this off to the last minute because I assumed it would be easy, but now it seems that either a.) what I want to do is impossible or b.) it's so easy there aren't any discussions about it.
I am using using Drupal 6 to store information for a Flash site. The site is not really a Drupal site; I'm just using Drupal to manage the database that feeds information to it.
I am using Drupal Services with great success to get Views data into the site's Flash portion. (Attached code is the ActionScript that works in Flash.)
Testing Services 3.x beta with xmlrpc
I have setup an endpoint called api.
It uses an xmlrpc server.
I have enabled system.connect in the resources tab.
I send this request:
POST http://mydomain.local/api HTTP/1.1
Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg, image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9, flv-application/octet-stream;q=0.8, video/x-flv;q=0.7, audio/mp4, application/futuresplash, /;q=0.5
x-flash-version: 10,2,152,26
Content-Type: application/x-www-form-urlencoded
Content-Length: 102
ZendAMF's new playground
ZendAMF, a new server component to the Services module opening the Drupal doors to the Flash world, is moving into its new sandbox.
Read moreConfusion with URI needed for a new service module
I created a module that uses hook_service to define a service, name=service.stuff, which does then appear in the service list in the services settings pane.
I'm confused about how to invoke it for testing on a closed system (i.e no incoming traffic). I tried hitting it with the uri services/service.stuff and also services/module_name/service.stuff, both of which gave me Page not found.
Read moreServices OAuth: anyone have any idea how to configure?
I think the subject says it all. The Services OAuth module has no end user documentation, and looking at the interface pages I'm not sure what to do.
Anyone know of documentation for usage of the Services OAuth interface? All I can find is non-drupal specific OAuth docs for developers authoring an OAuth implementation, but not how to configure such an interface once it is there.
If you know how to use the Services OAuth module's interface, could you please write something up and post where that can be found?
Read moreZendAMF 0.4 released
This is the second release related to a Services module ZendAMF server extension (Drupal 7, Services v3.0). First time around was pretty much a proof of concept; bunch of changes were made that will hopefully make it a more serious proposal.
Read moreUpdating profile fields via user.save
So if I create a new user via xmlrpc and the services module I can populate profile fields no problem using user.save, but for some reason I cannot update profile fields using user.save I'm actually connecting to xmlrpc from java.
I've done it in php as well.
$user_object = array(
'name' => 'test_user_from_api',
'profile_name' => 'James',
'profile_last_name' => 'Test',
'pass' => 'testuser',
'mail' => 'james@yahoo.com',
'status' => 1
);
New Services 3.0 REST doc page: example code for talking to remote services
Not being able to find any good references for how one codes communications with remote Web Services, either other Drupal sites wanting to communicate with my Drupal Services implemented API or non-Drupal sites communicating with my API... I figured it out for both cases, put together a working version that I have in my current project, and then wrote this documentation page for the community: http://drupal.org/node/1070066
Read moreCall exposed filter view views.get method
My initial task is to get a list of nodes that were updated since a given timestamp.
It was clear to me that using the node->changed and views.get method I will be able to make it happen.
Unfortunately, getting into it, I understand that to get this kind of query I need to use filter, and not argument.
Am I wrong ?
So, if filters are required, the existing views.get don't do the work.
The solution, I guess, it to as an additional field to the views.get, with some kind of key-value pairs, and set the filters accordingly.
Any suggestion ?
Is there any other simpler way to do it ?
Does user.save include picture support?
Hi everyone,
Read more