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.
Ladies and gents, please welcome new Services lead maintainer, heyrocker!
Greg Dunlap (heyrocker), maintainer of several other modules and a long time Services co-maintainer, has pretty much been acting as Services lead (along with Marc Ingram / marcingy) for many months now -- its time we finally made it official.
This is big news for Services, which has been in need of some major attention, and a wrangling of efforts. Greg is the perfect man for the job, and I'm ecstatic that he has stepped up to the task.
Stay tuned for upcoming plans from the man himself.
Cheers,
Scott
node.save and taxonomy
Hi,
I am trying to setup a link between a non-drupal site and a drupal 6.14. I am using xmlrpc to post pages to drupal. This is working fine for items such as title,body etc. but I need to also select taxonomy. The code is php and based on http://groups.drupal.org/node/27482 and all the taxonomy items are already setup on the site, I just need to link them into the node.save call. I have tried all the various possibilities of array, structs by name or by tid and none of them seem to work. I have searched for any examples but have come up blank. Could someone point me in the right direction.
node.get doesn't work?
Hi,
I've just started experimenting with Services, and I can't get node.* methods to work.
If I do system.listMethods(), I get a list containing node.get, amongst others. If I then call system.methodSignature('node.get'), I get an error message "Requested method node.get signature not specified." It works for the system.* methods. I have granted permission to "load node data" to all users.
Does anyone know what is wrong? I use services ver 6.x-2.x-dev from Oct 15th (on D6.14).
/Dag
Custom Services no longer working
A Drupal 6 project using Services & AMFPHP I have been working on was recently moved to a different server.
The built in services are working fine:
(services/browse/system.connect, views.get etc.)
I've also tested the example echo service and it is working.
However, all other custom services are no longer working.
When I attempt to call the method using the service browser I get the following message:
"Access denied for user 'apache'@'localhost' (using password: NO)"
Drupal Interface Writer for C Sharp
Hi Everyone,
I created a console application that connects to a specified site and creates an interface based on the available services methods.
To read more about it and download the example, please visit: http://www.molinesoftware.com/?q=content/moline-software-drupal-interfac...
To download the lastest package of my framework, please visit: https://sourceforge.net/projects/drupalxmlrpc/
Regards,
Aaron
rpc/document modif of the services module plus incorrect wsdl...
Hi
Error Using user.save
Using the user.save method I receive the following error:
user warning: Duplicate entry '' for key 2 query: INSERT INTO users (created, access) VALUES (1254426886, 1254426886) in htdocs/modules/user/user.module on line 327.
I'm using Drupal 6.14 and the lastest version of AMFPHP and the Services module.
Nothing I've tried seems to work, so yny help getting past this problem would appreciated.
Services Methods
Hello,
I have been searching for a list of methods/commands (such as "node.save") which can be called via Services module. I have seen lots of tips on how to call the services but the methods where only provided as an example. Can someone please point me to the whole list, if such exists?
Thanks!
Sample PHP Services Client Code
Updated code 9/30/2009. Uses Services 6.x-2.x-dev on Drupal 6.14; XML-RPC for PHP library at http://phpxmlrpc.sourceforge.net/. Thanks to clues from http://drupal.org/node/303285 and the services tester, it includes some code for populating CCK fields ("field_publication", "field_byline", etc.). This is pre-production code for importing articles to a newspaper website, designed to run on the command line. I just left the parseXML() function as an example.
Flex error ???
Hi,
I have a big problem
I have
xampp 1.7.1
drupal 6.13
AMFPHP 1.9
Flash Builder and work wirh SDK 3.4.
Every time I want to debug my flex application (that use RemoteObject with amfphp drupal module) I need to rename the default application, because not there will be no change effect.
Anyone have any idea?
Thanks!
Contract Drupal Developer | Exaltation of Larks
Exaltation of Larks has an immediate opening for a contract Drupal developer for 10-20+ hours per week. We're a small, bicoastal firm that likes to do things that have never been done before and we're growing.
(You can see a bit of our work by reading our case study: http://drupal.org/node/430222)
JSON Server adds unwanted backslashes
I'm using JSON in Flash (because I'm also using JSON for iPhone and wanted to keep things consistent rather than mixing amf and JSON). I noticed that when I started using the JSON Server for the Services module that strings with apostrophes were getting slashes where they didn't belong. Check out the return differences between these:
<?php
//outputs didn't
echo json_encode("didn't");
//outputs didn\'t
echo drupal_to_js("didn't");
?>Document vs RPC style
I am attempting to use Adobe LiveCycle Designer to communicate with my Drupal install. However, after I select the data connection type WSDL and paste in the url of the WSDL, I get a message on any service I select that says "Cannot choose this operation: - Soap Binding must be Document/Literal." In the module, it appears that the type is hard-coded to "rpc". I am stuck and not sure what to do. I am new to the group and the module, so please bear with my stupidity on this. Thanks for any thoughts.
How to integrate a iPhone application with Drupal
This will just be a short announcement of about a blog post that might interest people. Not trying to spam you or anything be we haven't been allowed into the Drupal planet feed yet.
Just getting started with Services, finding some issues...
Using Drupal 6.13, Services 6x-2x-dev
I am working towards implementing a web API to expose some computational services of my company. Starting out with a basic module that depends upon the Services.module, I am seeing these unexpected behaviors:
simple flex integration with Drupal 6 using services | Instant I
We have a Flex application already built. It needs to be integrated with Drupal 6 using services module and AMFPHP.
The site is complete. The Flex app is in place. We just need to have it passing the user input to the Flex app to the Drupal content type.
Its is a Flex app that allows users to input data for very small amounts of text and a single image.
We need to paass the inputted data into the content type Itinerary to be published as Drupal nodes.
Drupal OAuth and Services
During the Drupal NYC Hackathon a number of us got together and outlined the current state of OAuth communication with the Services module.
Comment Service and Flex : how to get all comments in one call
Hi,
I am on my way to build up a flex app to manage comments moderation for drupal websites that handle a lot of them. I noticed that last dev version of Services offers a Comment Service which is really useful. The thing is that it seems impossible to get all comments from website (only those linked to a given nid). I am not a WebService expert (far from it) so maybe I am missing something.
Integrate Drupal and Flex(Air Application)
Hi to all,
I am developing Desktop Application for Drupal in Flex through which we can add data to the drupal database. I am using Services module(Version 6) for that. I am using the following things,
Services module(version 6.x-0.15)
Amfphp module (version 6.x-1.0-beta1)
amfphp for remote access
Front End -- Flex
Now i am able to create a web application to call the drupal database and
i can add the new data to drupal database.I am using "services-config.xml"
for remote object.But when i create an Air application with the same
flash actionscript3 amf DrupalService package, opensource
Hi all,
we've just created a DrupalService implementation in as3 for flash. It's a part of our internal company package that we have released under the MIT license. The package itself features (in our humble opinion) the best flash remoting as3 implementation out there (also featuring resultsets) and some other cool stuff. The core is fully unittested, and heavily documented, and we're making use of that in our DrupalService.








