function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion 

xmlrpc_login issue

The return value of xmlrpc_login doesn't contain the correct server_url. 

  Hashtable result = (Hashtable) xmlrpc_login.execute("sfdc.login", loginParms);

  myServer = (String) result.get("server_url");

  xmlrpc = new XmlRpcClient(myServer);

The value of myServer is But I found I can only

make it work with Otherwise it says "unknown protocol: https".




Check the secure parameter on your login call.  This parameter is option and will default to true, but if you have false coded into your app it will return the non-secure url.





I have the same problem too. If I give the version number 1.7. I can login. But not version 1.9. I am not sure if it is my jar files are old. https is different protocol from http. I suspect that the old jar not support the protocol https .

Please correct if I am wrong. I need the problem be fixed.


pei lei



If you are receiving the "https not recognized error" it may be that you are using an old jar. 


Message Edited by mike kreaden on 07-29-2003 02:37 PM