propono with MS live space

View: New views
1 Messages — Rating Filter:   Alert me  

propono with MS live space

by Qingyuan Deng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I am trying to use ROME-propono 1.0RC1 to write a simple blog client tool to post and get blog entry from MS live space. I use the BlogEntryPost example in BlogClient to post a new entry into https://storage.msn.com/storageservice/MetaWeblog.rpc, and it works well. However, while I am trying to get the old post from it, it fails. My code is as follow:

 BlogConnection conn =
            BlogConnectionFactory.getBlogConnection("metaweblog", uri, username, password);

        Blog blog = (Blog)conn.getBlogs().get(0);
        String name = blog.getName();
        System.out.println(name);  //up to here it works fine and printed the correct name of the blog

     Iterator entries = null;

        try{
        entries = blog.getEntries();
        }catch (Exception e){System.out.println(e.toString());}

but when the program reaches here, an exception happened: com.sun.syndication.propono.blogclient.BlogClientException: ERROR: XML-RPC error getting entry

I also tried first create and save a new blog entry and get its token, then use this token to retrieve the same blog entry. The same problem happened...

Is there any thing I did wrong? Anyone knows how to retrieve blog entries from Live Space?

Thanks a lot!
Qingyuan