Project:Web Services
Version:6.x-1.02
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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.

Comments

#1

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

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?