I am new to XML-RPC and I have to use LJ's XML-RPC for my program. So here I am trying to figure out how to use the XML-RPC interface. I am getting an org.apache.xmlrpc.XmlRpcException: Invalid fault response when I call LJ.XMLRPC.login.
XmlRpcClient client = new XmlRpcClient("http://livejournal.com/interface/xmlrpc");
Vector params = new Vector();
Object result = client.execute("LJ.XMLRPC.login", params);
I understand that I am not passing the password. But according to the protocol:
[scalar](required) DEPRECATED. Password of user logging in in plaintext. If using the "clear" authentication method, either this or "hpassword" must be present
So password is optional. It looks like my result is wrong. Any ideas?
thanks a ton.