services

Events happening in the community are now at Drupal community events on www.drupal.org.
robloach's picture

Services for Drupal 6

The Services module for Drupal was created to provide a standardized way of supporting communication with external applications and Drupal. XML-RPC, JSON, AMFPHP and REST are just some examples of protocols that can be used as communication mediums. It's a great module which adds a lot of flexibility to Drupal, and it has just been ported to Drupal 6 with a Drupal 6 development branch.

Thanks, Scott Nelson and Marc Ingram for the help in putting this together.

Read more
robloach's picture

REST Server

A REST Server is now available for the Services module, so that external REST clients can communicate with Drupal Services. In order to use the REST Server, you have to install the Zend Framework.

http://drupal.org/project/rest_server

Read more
napoly's picture

Help me with 'My account' -> 'Edit' form..

Hello people..

I'm trying to populate some forms with flex.. one of the most important is user edit form..[I'm really new to this and drupal].. so I called my simple one-line service return user_edit_form() to see the structure:

Result

Array
(
[account] => Array
(
[#type] => fieldset
[#title] => Account information
[name] => Array
(
[#type] => textfield
[#title] => Username
[#default_value] =>
[#maxlength] => 60
[#description] => Your preferred username; punctuation is not allowed except for periods, hyphens, and underscores.
[#required] => 1
)

[mail] => Array
(

Read more
ccdoss's picture

Service Permissions

I've created a service for my Flex app. It determines if a user has a certain role. I need this service available to authenticated users. However, it appears that only the original user can access this service. How do I specify permissions for services so that I can allow other users to access them?

Read more
sime's picture

New server: Get Server

I've just finished new server that lets you pass parameters over the URL.
http://drupal.org/project/get_server

As I've mentioned in another post, I was playing with the idea of calling it a REST server, but in the end this is not trying to implement a specific protocol, so I went with a generic name that still describes what's going on.

Interested in thoughts.

Read more
sime's picture

Services: dynamically changing the returning server?

Look at the services architecture, a service is defined in such a way that it receives and sends data independently of the server involved.

I've been writing a "GET" server (some might call it a REST server, but there's semantic baggage that comes with REST that I don't care for). The GET server simply allows parameters to be passed on the url query string ie. in the path.

Read more
sime's picture

path_server.module?

My client is setting up a service, but they would like to have the call by url.

This is straight forward, I just parse the url arguments and we're away. But in order to use the services module and have our service display consistently, and use the api key functionality, I'm thinking a path_server.module might be the nicest way to do this.

One of our assumptions before we started the project was that Services would support this out of the box.. so my quick question is: have I missed something?? Is there something odd about my thinking? (Not unusual!)

Read more
pajoh's picture

User Service Module - Upload/Change User Picture

I am using Flex 2.0 and AMFPHP to access Drupal user services, and it has been going pretty smoothly. I've managed to create a couple simple user services on my own.

However, I am currently attempting to expand the user service module to allow uploading / changing the user picture. I am have more difficulty with this.

The following is my first stab at this and it doesn't work. I am hoping someone could point me in the right direction! Thanks!


function user_service_image( $source ) {

$info = image_get_info($source);
$file = file_check_upload( $source );

if ($file){
Read more
mikeypotter's picture

Learn More About Adobe Flex at FlexCamp in San Francisco

This isn't yet public information, but I wanted to give this group a chance to register for the event before we open it up to the public...

The Adobe Flex team is hosting on a one night event in July that will allow developers to learn more about Adobe Flex and the upcoming Flex 3 release. The event is being called Flex Camp, and is scheduled for July 27th, at the Adobe San Francisco office, from 5:00 PM to 11:30 PM or so.

Read more
andjules's picture

simple REST server?

I've got a project where I am integrating Drupal with a third party service (a video upload/transcode/hosting provider, kind of a white-label YouTube: twistage.com)... when something updates at that service they want to ping my server @ a URL I designate with some simple key/value pairs, and I want to act on that ping.

Services seems like a perfect fit, except: a) XMLRPC and AMFPHP seem to be the only servers pre-written; and b) I haven't grokked the server part of the services equation to author what seems like a super-simple server - one that only responds to $_REQUEST variables.

Read more
Subscribe with RSS Syndicate content