java
Authentication in Drupal's services module
Posted December 9th, 2008 | Last edited 12/08/2008 - 22:04 by xjsI have been struggling with user authentication for the services module ( 5-x.0.92). This is the first version I installed. However, by checking the handbook and the outdated examples, it's not hard to tell significant change has been made in this version, especially the user authentication part which requires api keys, HMAC with sha256 hashing function, etc.
- xjs's blog
- Read more
- 1544 reads
- Comments
Java XML-RPC client for Drupal's Services module
Posted November 29th, 2008 | Last edited 11/28/2008 - 23:12 by xjsI am trying to write a java xmlrpc client for Drupal's Services module. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error when I tried to call "system.connect()". This error occurs no matter which library I use, Redstone or Apache.
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. ...
- xjs's blog
- Read more
- 3171 reads
- Comments
xml-rpc, java, and eclipse
Posted November 12th, 2008 | Last edited 11/11/2008 - 21:46 by xjsThis writeup serves as a quick summary of my initial investigation of writing xml-rpc applications using java in Eclipse. It's hoped to be useful to whoever is reading this.
xml-rpc is a popular web service protocol. In case you haven't heard this before, one common application is publishing blogs from your desktop.
Popular open source XML-RPC library implementation in Java includes:
Apache XML-RPC
- xjs's blog
- Read more
- 2180 reads
- Comments
SpeakingX
Recent comments
1 hour 52 min ago
2 days 18 hours ago
3 days 19 hours ago
1 week 2 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 2 days ago
2 weeks 2 days ago
2 weeks 5 days ago
3 weeks 17 hours ago