You need to sign in to do that
Don't have an account?
Logout error 1113
Hello,
I have this code for the logout call:
If I call this methode I get this error:
XmlRpcException : unknown method name logout code : 1113
Kan anybody helps me ??
Kind regards,
sfDeveloper
public void logOutSalesforce()
{
Hashtable param=new Hashtable();
param.put("version",this.getVersion());
Vector params=new Vector();
params.add(param);
try
{
this.xmlRpcClient.setSessionId(this.getSessionId());
this.xmlRpcLogin.execute("sfdc.logout", params);
this.setConnected(false);
}
catch(XmlRpcException ex)
{
String fout = " XmlRpcException : " + ex.getMessage() + " code : " + String.valueOf(ex.code);
MyLogger.Log(fout);
}
catch(IOException ex)
{
String fout = " IOException : " + ex.getMessage();
MyLogger.Log(fout);
}
} // end of logout method
Hi sfDeveloper,
Make sure you are running the call against the instance server and not the login server (www). The logout call, by the way, does not invalidate the session.
Hi,
Oeps , I see that. I'll chnage it
thank you,
sfDeveloper