java and services

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

Any one can provide some examples or tips of using Services module in Java program?
Thanks very much!

Comments

Services Java API

yavinty's picture

Is there a Java API with library to call drupal services as indicated here: http://drupal.org/node/132809
Cheers!

I am using redstone xmlrpc

xjs's picture

I am using redstone xmlrpc library. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error

After some searching, I found this: http://www.openrdf.org/forum/mvnforum/viewthread?thread=86
Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. ...

Anyone knows if this is true? Thanks.

Language learning by social networking

content not allowed in prolog

cstachris's picture

Sorry to resurrect this post, but I once had this error because of null values being passed within the XML. Change the values from null to a string 'nothing' so you don't get that error. My memory is a bit rusty, but I think that should sort out this sort of error.

Cheers
Chris

Services

Group organizers

Group categories

Group notifications

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