Communicating with the Drupal services module can get rough for the uninitiated. While connecting and reading data is quite well documented and straightforward, creating and saving objects can sometimes mean a lot of trial and error.
Publishing content via the service module is done via the 'node.save' and 'file.save' method calls. They both take one argument, an object (though some documentation says array, they require an object), and both return the id of the node or file they create.
The while the documentation says that the node object for 'node.save' and the file object for 'file.save', this may not actually work in all cases. The methods 'node.save' and 'file.save' work by generating and submitting node or file creation form, filling it in with the data in the provided object. Since the form to create a node can be different than the node object it creates, valid node objects submitted to 'node.save' may not be created correctly. Read more about Tips on creating files and nodes remotely via the services module