Services

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.

Sylvain Lecoy's picture

So what about services ?

For those who followed this thread: http://drupal.org/node/145551 what is the battle plan ?

For those who didn't what are you thought about the subject ?

We have an issue, but no working group about this. I don't want to see this thread last another year !

Read more
egomac's picture

Drupal 7 and Services

I am starting a new services-driven site and would like to know the opinion of the group if the project is worth starting using Drupal 7 instead of 6?

The application is heavy on services so it will be like having Drupal as a backend only to store data and serve them in XMLs.

Any successful implementations or stories is appreciated.

Thanks.

Read more
lhridley's picture

Forking services.connect -- how to get rid of sessions ID requirement

I'm new to Drupal, but an experienced PHP programmer. Please forgive the newbie question.

I'm in the process of developing a web service to be accessed via mobile devices (iPhone / Android). I'm not using API key authentication, but am using sessions.

Read more
eimhee's picture

How to create node with service3.0

I am try to save a node with service3.0, but it didn't worked,
I am using restful style, is there any example to save a node using service3?

public Object nodeSave(MultivaluedMap<String, String> queryParams) {

    Client client = Client.create();
    WebResource webResource = client
            .resource("http://localhost/drupal/rest/node/create?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13033148613441");

    Cookie cookie = getCookie();
    ClientResponse response = webResource.accept("application/json").cookie(cookie).put(ClientResponse.class, queryParams);
    int status = response.getStatus();
Read more
rolf vreijdenberger's picture

amfserver, a new module that integrates actionscript clients (flash, flex, air) with D7 services

Hi all,

we're in the process of releasing the amfserver, a new Drupal 7 services module that integrates with actionscript based clients.
This means it's usable for flex, flash and air applications.
It's amf handling capabilities rely on the zend amf engine from the zend framework.

At the moment of writing it is complete, tested and features all you can wish for:

Read more
barobba's picture

"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 more
lan5's picture

integrating 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 more
LuckyBamboo's picture

Services 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);

Read more
wastrilith2k's picture

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 more
dereckd's picture

Configuring 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 more
christothetopher's picture

Access 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 more
dporto99@gmail.com's picture

Problems using Services and SOAP Server Modules

Hello, everyone:

Read more
jhutar2's picture

search.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

Read more
sisko's picture

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 more
cjnoyescrisp's picture

Services 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 more
freeMode's picture

I 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.)

Read more
joshon's picture

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

Read more
BOGUƎ's picture

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 more
j. ayen green's picture

Confusion 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 more
Subscribe with RSS Syndicate content