services xmlrpc

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

Services, XMLRPC and Java

Im looking for help on how to add taxonomies and files to nodes using Java and XMLRPC:

  • add taxonomy terms to a node (using term reference fields)
    this is what i got: {field_area={und={0={tid=38}}}...} and its not adding the term to the created node

  • add files to a node

  • edit/update existing nodes

i cant get anything to work and there's little documentation about how to use the API (which parameters requested etc)

anyone help?

Read more
kscottj's picture

Services posting a forum topic with code

I have written a javascript application that will post comments to any node in my local drupal install with and API key. The goal is to be able to use an android/iPhone mobile PhoneGap applicaiton to post content to a Drupal server.

My question is can I add topics to a Forum using the services XMLRPC interface?

I can add a node of type "forum" however that never show up in the forum.

I currently using services v2 on Drupal v6.2.2 server.

Here a simple JavaScript code snippet:

function postForumTopic(intNode,strText){
    var method = "node.save";
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
Subscribe with RSS Syndicate content