• Angel.com
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

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 https://na1-api.salesforce.com/servlet/servlet.Api. But I found I can only

make it work with http://na1-api.salesforce.com/servlet/servlet.Api. Otherwise it says "unknown protocol: https".