client documentation

ray007 - August 19, 2009 - 11:43
Project:Web Services
Version:6.x-1.02
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I've tried to write a small sample client using xmlrpc-services provided by the webservices module, but my success so far has been limited.

  • Using direct_id authentication I was able to login a user, get node-data, create simple nodes, ...
  • Switching to oauth I haven't managed a single successful xmlrpc-call from my client so far
  • Even when using direct_id I haven't managed to save a node with cck-fields correctly

Any documentation, examples, hints where to look, ... would be appreciated.

#1

ray007 - August 20, 2009 - 08:08

Info update:

it's quite easy to get the data for a cck-textfield saved, but with a date or a link i've had no success so far.
Even though I'm using the same attributes I see when using node.get on a manually edited node ...

#2

ray007 - August 21, 2009 - 09:09

Info update:

By replacing the drupal_execute() code with formstate in function _wsservice_dcore_node_save($node) (file wsservice_dcore.node.inc line about line 91) with a simple call to node_save(), things are starting to work with a date-field and a link-field.
What's the reason for going the drupal_execute() route with formstate ... is there something I'm missing?

 
 

Drupal is a registered trademark of Dries Buytaert.