I'm trying to use Apache XMLRPC to manage posts at a small weblog service. The support isn't great there and they can't really help. They say the weblog supports the metaweblog api.
I'm trying to retrieve all my posts using the rpc "metaWeblog.getPost":
token = client.invoke("metaWeblog.getPost", new Object[] {123, // also tried "123" and "\"123\""
"username",
"password"});
When I use 123 (no quotes), I get this response: java.lang.Exception: java.lang.Integer cannot be cast to java.lang.String
When I use "123" or "\"123\"" (quotes), I get this response: java.lang.Exception: Invalid postid format: 123
This code does work with my Wordpress weblog's.