Support » Everything else WordPress » XML-RPC Post from Java

  • I am using the redstone xmlrpc Java library to test posting to WordPress. I’m passing in username & password of the admin account and ‘1’ for blog id and I keep getting “bad username/password combination”. Is the blog id relevant to this error? I’m new to wordpress, and my guess would be that either the username or the password is wrong, but the auth info I’m using is given to me by the blog administrator who set up the admin account for this blog. Are the admin username/password the info I should be passing in when I call client invoke to the xmlrpc.php url? Or is it expecting a different set of username/password? How about the blog id? Is this really used?

    Thank you very much!

Viewing 1 replies (of 1 total)
  • Joseph Scott



    You don’t mention which method you are calling. Is it metaWeblog.newPost? The blog id value isn’t used, so sending 1 as the value for it is fine.

    Can you login via wp-admin using the same username and password? If not then it is a username/password problem.

Viewing 1 replies (of 1 total)
  • The topic ‘XML-RPC Post from Java’ is closed to new replies.