Services

Events happening in the community are now at Drupal community events on www.drupal.org.

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.

ebhakt's picture

How would you like to use a free software client to manage your drupal website?

Yes
88% (14 votes)
Doesn't matter
6% (1 vote)
No
6% (1 vote)
Total votes: 16
anAgent's picture

MolineSoftware.DrupalXmlRpc.NET - Version 2.0 (Released)

Hi Everyone,

After some major code changes and added items, Version 2.0 is ready for download. To read more about it and examples, please visit: MolineSoftware.com</a href>. This node will have a zip of the two binaries needed and a quick example.

With only a few lines of code, you can get a c# solution up and running and talking to Drupal.

You can download the source code at: http://sourceforge.net/projects/drupalxmlrpc/</a href>

Read more
setvik's picture

iPhone APP using Services API with key authentication

Is it possible to use the Services API key authentication with an iPhone app?

I want to restrict Services API access to the app, but when i go to create a new KEY at http://[host]/admin/build/services/keys/add the one required field is "Allowed domain: *" with a description of "External domain allowed to use this key."

Does that mean that authentication keys only work for external applications that run on a single external server (i.e. is it not possible to use key authentication with an iphone app? or am i misunderstanding the field?)

Read more
leoburd's picture

What's the difference between Drupal XML-RPC and Services XML-RPC?

Hello there,

I'm building a framework to facilitate the integration between Drupal sites and internet telephony servers (VoIP, Asterisk, FreeSwitch).

My first prototype was built using Drupal's XML-RPC functionality. What would be the pros and cons of moving to a Services-based API? How hard would it be to do the transition?

Thanks for your help!

.L.

Read more
jjjames's picture

Paid Work: Create a custom service for multiple CCK ImageFields

I need a custom service made that can add 5 images to 5 imagefields via services. Can someone help me?
Thanks!

Read more
eimhee's picture

how to hand special character in xml rpc

params.addElement("&<> "); contains special character , when I transfer the data to the drupal server,
the char "<' was replaced with blank string, such

---> p
how not filter the < character when transfer.

package net.sentom.xmlrpc;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Vector;
import org.apache.xmlrpc.XmlRpcClient;
import org.apache.xmlrpc.XmlRpcException;

public class MyXmlRpcClient {
public static void main(String[] args) {
try {
XmlRpcClient xmlrpc = new XmlRpcClient("http://localhost:8080/XMLRPC/MyXmlRpcServer");

Read more
gdd's picture

Services 2 Beta 1

I am pleased to announce that the first beta of Services 2 (the 6.x-2.x branch) has been released! This is a huge step forward towards a stable release. Most of the people in this group have probably been using the dev releases from this branch for some time, but having a stable release will allow the Drupal community to use Services with a great deal more confidence.

The plan now is bugs! Report bugs! Let's get them fixed. In particular we could use some people testing the upgrade path from the current branch to 2.

Read more
mssjsg's picture

How to add new method?

Dear all,

I want to add a custom to the node service. I try to create a method to return an array of nodes according to the type of nodes.

I modify node_service.module and node_service.inc.

However when I try to test it in services admin page.
It returned this error message:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_service_select' was given in C:\Documents and Settings\Administrator\walkstreet_web\modules\services\services.module on line 345.

I would like to know what makes this error?

Read more
gdd's picture

Services Roadmap from Monday's Summit

Thanks to everyone who came to participate in the Summit on IRC Monday morning. We had a really good discussion and I think we settled on a game plan for the next few months

FIRST PRIORITY is getting a stable release of the 2.x branch done. This will involved getting all the big issues in the queue closed, and going through a beta or two. A couple of things that are high priority:

Read more
apramakr's picture

node.save

Hi,

I am integrating a flash module with Drupal using XMLRPC module. I am currently calling a node.save using Actionscript 2.0.
On a flash button click, I am currently calling the node.save function. But ideally, I would like the function to be called first and only after the success of node.save, forward to the confirmation url.
Right now, I am being forwarded to the page even without node.save being completed. I then have to refresh the page in order to see the results.

function send(_title:String, _body:String, _name:String, _uid:Number)
{

Read more
gdd's picture

Services Summit

I have two major goals for Services between now and Drupalcon:

1) Get a stable release of the 2.x branch out, followed by starting development on a 3.x branch
2) Get the D7 conversion done

Read more
pdumais42's picture

Python code using XML-RPC to create a node and upload/attach a file.

I've searched the web looking for something more than a "create a node" example for Drupal Services. There are some good examples for Flash/Flex and some bits and pieces in Python or PHP but nothing that helps me to figure out what I am doing wrong.

Since my client is planning to develop a cross platform application that interacts with their Drupal site, I thought I would create a sample app in Python - just to show the Flash, iPhone, Droid, Blackberry developers how the Drupal Services API works.

Read more

Python code using XML-RPC to create a node and upload/attach a file. - moved -

I re-created this post in a format where we can comment on it.

http://groups.drupal.org/node/44864

Read more
mssjsg's picture

Connecting android with Drupal?

Dear all,

I am writing an android app currently and I am a newbie in web app.
I need to connect the android app that I write to a drupal site and get some data or submit data to it with the app.

I tried just using the xml-rpc server and try to connect to it with the android app but no luck yet.
For some reason, the app keep getting the output "invalid api key" which is actually not true. I know it must be some coding problem in my android app but I don't know what it is.

Read more
jbrubaker's picture

Proper way to create book

From what I can tell, the only way to create a book in Drupal via Services is to first save a new node and then change it to a book. The reason for this as far as I can tell is that to create a book you have to supply book=>bid, otherwise it is a standard story.

Again, from what I can tell there is a similar situation when you attempt to create a book below a book (i.e. a child book). First you have to save it as a book so that you have a book=>mid, then you need that to fill out the book=>p1-9 fields so that it is at the proper place in the hierarchy.

Read more
waldmanm's picture

Any sample Flex code for displaying taxonomy terms in tree control?

Hi,

I'm looking to display a multi-level taxonomy tree in a Flex app using the tree control, as a first step for more advanced functionality. Being new to Flex and to services/amfphp, I was wondering if anybody has some sample flex code that uses the taxonomy.getTree service and translates the returned array into something that can be displayed in Flex. I say "translate", because looking at the returned array it doesn't seem to be what Flex would be expecting (though I might be wrong here).

Thanks in advance for any pointers.

Micah

Read more
gdd's picture

Services - Looking Forward

Hey all.

So as Scott said I have recently taken over as lead maintainer of Services. I thought I would share some thoughts as to the module's future and open up the floor to discussion. These are my current thoughts but I'm very much open to dicussion, nothing except the first part are really set in stone right now.

Read more
snelson's picture

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

Read more
jamestraynor's picture

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.

Read more
dag_helstad's picture

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

Read more
Subscribe with RSS Syndicate content

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: