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
vpanditvpandit 

Why is there no Logout method on the SoapBindingStub?

I wanted to know how to explicitly end a Salesforce Session using the Java API. There is a login method on the SoapBindingStub, but I donot see any method that will end the session.

Am I missing something? Does anyone know how to do this?

Regards
Vinay
Rick.BanisterRick.Banister
There is no explicit method. Connections are supposed to be persistent. It would be useful for UI applications, but doing another connect seems to implicitly log off.