+ Start a Discussion

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?

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.