JoeBlogs – Typo in dummy URL fixed

I’ve recently had a few comments that the JoeBlogs wrapper wasn’t working – and they were getting an “invalid response” or more specifically “Response XML not valid XML-RPC – missing methodResponse element.”

It seems that I had a typo in my comments in JoeBlogs.TestHarness/Program.cs on line 15:

//typically http://www.yourdomain.com/xmlprc.php (if your wordpress blog is installed in root dir)

The problem, is the xmlprc.php – this should be xmlrpc.php.

Those of you that copy pasted / uncommented out that line, would be executing requests against a file that didn’t exist on your server!

I’ve changed this typo, and committed to Codeplex: revision #27138

Thanks to Felix for pointing this out!

One response to “JoeBlogs – Typo in dummy URL fixed”

  1. Andrew avatar
    Andrew

    There’s an error in your code; when I call the GetPost() function an error is thrown while executing DeserializeResponse. The parseStack output is:

    ? parseStack
    Count = 2
    [0]: “member postid mapped to type String”
    [1]: “struct mapped to type Post”

    Essentially, it looks like wordpress.com is returning postid as an integer value and the struct “post” is expecting a string. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *