browse services -> node.save

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

Hi,

I'm just starting out with the services stuff - I can follow the load/get of nodes and am quite happy with the screencasts on offer.

On the administration->site building->services->browse page, I'm trying to use the node service node.save - it requires a struct, which I'm guessing is an array but can't get it to work. I keep getting 'node not found'.

Here is what I input into the form: array('type'=>'page','title'=>'test title')

What should I be putting to make it work?

Comments

Inputting these values into

Fixdit's picture

Inputting these values into the node.save text boxes doesn't currently work for testing on the site. What are you building in? AS3 Flash or Flex...?

Web Service (WSDL)

cstachris's picture

Hmmm... thanks for your reply.

I'm creating nodes (CCK created ones) from a java program.
I've used java with sugarCRM's soap API, so was just feeling around what to do with drupal. I am hooked up to a nurse call system and want to display the messages that are sent. I've got everything, CCK, Views and the java program loading into a separate database, so just want to get a web service to create NursecallMessage nodes from the stuff already in the database.

I've seen some javascript, as, flex stuff around, but have been ignoring it for the hope of finding something a little closer to home.

I wonder if there is WSDL file to download from my Drupal SOAP server come to think of it?

Cheers

The correct way to input

ishaan.guliani's picture

Hi u hv mentioned array('type'=>'page','title'=>'test title') , this does not work. Whats the correct way to input , did u figure it out ??

Thanks

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: