March 6th, 2007

  • parthy

org.apache.xmlrpc.XmlRpcException: Invalid fault response

Hi guys,

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("");
            Vector params = new Vector();
                Object result = client.execute("LJ.XMLRPC.login", params);
            }catch(Exception ex)

I understand that I am not passing the password. But according to the protocol:

  • password(optional):

    • [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.

  • Current Mood
    curious curious