Services

We encourage users to post events happening in the community to the community events group on https://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.

pkrecker's picture

Argument list for remote calls using API key in call

Regarding Services v. 1.3.2.12 (from tag at head of services.module, not sure which version of whole module I'm on).

Read more
jrwjrw's picture

drupalAMFPHP ActionScript Class

I recently wrote this AS3 Class for interacting with drupal from Flex using the AMFPHP and Services module. Not sure if this has been done already or if this code will be useful but I am releasing it into the Public Domain. Hopefully it could be expanded on by someone with more time to make it a full featured class.
I have got it working with the following setup: Drupal 5.11, AMFPHP 1.9 Beta 2, Services Module 5.x-0.91, Views Module 5.x-1.6. I am using Flex Builder 3 and AS3.

Read more
elliotttt's picture

Save Flash Image Data to Drupal Video Tutorial

Hey everyone, I just made a video tutorial with code examples available at http://blip.tv/file/1399795 on how to get flash image data into Drupal.

Part two will demonstrate how to save a node with the image data associated with it. Feedback is of course welcomed as there may be some things people may have better ideas about how to approach.

Read more
emptyvoid's picture

OpenID authentication in a Automated Multi-Site Deployment

I would like feedback and recommendations on researching how Drupal generates unique keys for a new Drupal installation and how OpenID utilizes the keys when validating a new user Session for a valid user account.

Subjects Involved
1) Building a multi-site deployment system that will create new Drupal multi-sites using database replication.
2) Each site requires integration with an OpenID server and authentication of local users accounts to OpenID.

Research
1) Conflict Resolution.

Read more
xjs's picture

java and services

Any one can provide some examples or tips of using Services module in Java program?
Thanks very much!

Read more
SamRose's picture

Problem with using taxonomy_select_nodes to create xml

Writing an app in adobe flex 3 getting data from http://drupal.org/project/services module (and amfphp)

Get data from services module as array calling taxonomy_select_nodes

Using simpleXMLEncoder.encodeValue() to convert result array into XML

resulting XML is incorrectly formatted:

<root>
       <item>
              <some nodes>
              <taxonomy>
                   <25>
                  <description/>
                  <name>who</name>
                  <tid>25</tid>
                 <vid>5</vid>
                <weight>0</weight>
                </25>
                <4>
               <description/>
               <name>Institutional Changes</name>
               <tid>4</tid>
               <vid>1</vid>
               <weight>-10</weight>
               </4>

      
             
               </taxonomy>
            </some nodes>
      </item>
</root>
Read more
toursheet's picture

Drupal Camp Chicago Invite

You are invited to attend Drupal Camp Chicago on October Friday 24 & Saturday 25 2008.

http://drupalcampchicago.org

Who/Why:

For over 2 years Chicago Drupal has truly highlighted the benefits of an open source initiative. We have built resourceful bridges between many local Chicago establishments including non-profits, entrepreneurs, Drupal development companies, independent consultants, hobbyist, and others in the mid-west. Our goal for this Drupal Camp is to bring everyone together for open communication, education, fun, and industry networking.

What:

Read more
otisjs01's picture

Using xml-rpc to pull information into Drupal...

I am relatively new to Drupal.

I have a website that I am trying to build that synchronizes, or at least pulls data out of, another database.

Read more
swellbow's picture

Authentication

Hi everyone,

Having fun here working with services and amfphp in order to serve content to both flash and non-flash parts of an upcoming site. Glad to be part of the group to see if I can get help or add help!

I have a conceptual issue with authenticating against the service modules using the system.connect and user.login methods. Unfortunately many of the tutorials explicitly turn off authentication keys at the beginning, so there are not as many examples of this approach.

Read more
timosea's picture

I'm having problems with saving cck fields via as2 and the xmlrpc service

Hi there, I'm still having fun with services, as2 and node.save, I moved on from initial experiment with swx to using the xmlrpc service, which initially seemed really easy due to some great posts including this one by d0ublej0's http://drupal.org/node/82114#comment-263405 . Everything is working nicely until I try and add content to a CCK field, i think this post http://drupal.org/node/256074 describes correct structure, but i'm unsure on how to create this structure using the mattism as2 xmlrpc classes.

Read more
dudskie's picture

Creating an external application using PHP in search_services module

Guys,

Any sample here that demonstrates an external application using PHP that calls the search_services module in Drupal. Just want to see how do you implement that.

Thanks in advance.

Read more
Chris Charlton's picture

More LA Drupal meeting videos online

For those who don't know, LA Drupal has been posting our meeting videos over at http://drupal-la.blip.tv and you can totally check out almost the entire meetings you missed or want to see over again. Tonight we are proud to announce Scott Nelson's four part recording from our May 2008 meeting. Scott covered the Services module, and the AMFPHP module for hooking up Ajax, XML-RPC, JSON, and Flex/Flash to Drupal.

Read more
darrenmothersele's picture

Services and CCK ImageField

Futher to this issue: http://drupal.org/node/290053

I have a node import solution that imports from a specific XML format and I am looking at moving this to using the services module (rather than executing within a bootstrapped drupal environment and using drupal_execute). The XML files reference images that are attached to the created nodes using ImageField.

I've been looking through various implementations of services, and I wondered if anyone had good advice as to how to implement support for imagefields as part of node.save?

Read more
wishbone's picture

AMFPHP arrays to Flash

Hello Drupalistas!
I have Flash consuming AMFPHP services from Drupal. Now I want to build a "mixed" content type and serve that through AMF as well. So I added a CCK "image_field" to the "Page" content type. Now I have an image associated with every "page". This is fine and good, and my services browser shows this:

[log] =>
[format] => 1
[uid] => 1
[name] => admin
[picture] =>
[data] => a:0:{}
[field_image] => Array
(
[0] => Array
(
[fid] => 1
[title] => image1.jpg
[alt] => image1.jpg
[nid] => 1
[filename] => image1.jpg
[filepath] => files/image1.jpg
[filemime] => image/jpeg
[filesize] => 46444
)
)
Read more
travist's picture

Dash Media Player: A media player built for Drupal CMS

Hello everyone,

I just recently developed the Dash Media Player which uses Services to extract data from Drupal. It is really a nice fit to build a media player that takes advantage of the Drupal Services. This way, you can build a playlist using the Views module and load any video that is connected to any node in the system.

Please let me know what you guys think.

Read more
timosea's picture

node save using as2 and swx

Ello,

I've just posted some swx as2 code http://drupal.org/node/289428#comment-1007620 as i'm having some issues with saving nodes via swx. I thought post a link here too as i'm still kind of green with services in drupal so my issue might not be with the swx module and just my logic in how the node save service works.

Read more
vannen-gdo's picture

how to pass arguments to views.getview?

Hello,

I've successfuly got flash as3 and Drupal talking, but I need to pass arguments to views.getview so that I can cut down on the amount of data transfered.

I'm using the following to connect, modified from the AMFPHP "hello world" example:


package {
import flash.net.NetConnection;
import flash.net.Responder;

import flash.net.URLRequest;

import flash.events.EventDispatcher;
import flash.events.Event;

public class ConnectToDrupal extends EventDispatcher{

    private var gateway:String = "http:// mywebsitename /drupal/services/amfphp";
Read more
shrop's picture

Best way to parse XML for Drupal site to Drupal site communications with services module

I am using the services module to setup a web service on one Drupal site and then have another Drupal site pull in the resultant xml data formatted for display. I am specifically using views.getView from the Services module xml-rpc server. It works great so far, but now I am wondering the best method for parsing the XML on the client end Drupal site.

Should I just use simplexml included with PHP and create a node with the PHP parsing code. Seems like there is a need for an XML-RPC client module, but I haven't found an existing project.

Read more
Fixdit's picture

Relativity on Nodes created via node.save

Can node relativity be utilised on nodes created via node.save in Flash? I have been trying to look for an easy solution to work this out but have been a bit stumped.

I believe, looking at the args when you add a child node to a parent ("/node/add/CONTENTTYPE/parent/PARENTNID") you'd need to have the url available?! Is there anything I can do here? Would I need to write a custom service in PHP that utilise node relativity functionality and tie it in with the node.save service via Flash?

Looking forward to getting some help :)

Read more
brmassa's picture

Services D6

Guys,

Scott Nelson (snelson) included me as one of the maintainers last friday and im glad to announce a new version of Services module for D6 (in fact, i released 2 versions today). The 6.x 0.11 contains several bugs fixed, a new security fix and some nice and long waited features:
* user.get service
* user.save service
* user.delete service
* file.get service
* file.getNodeFiles service
* menu.get service
* Several services were renamed for consistency, including node.load service to node.get
* node and user services now have a very granular permissions

Read more
Subscribe with RSS Syndicate content