Maintaining SOAP sessions while interacting with the Novell Service Desk web services interface.

  • 7012235
  • 11-Feb-2005
  • 17-Jun-2013


Novell Service Desk 6.5


Explains how to hold SOAP sessions open, so multiple calls can be made to the Novell Service Desk web services interface using the same login.


Set the service's 'maintainState' flag to true:

Service service = new Service(); service.setMaintainSession(true);

Additional Information

By default, SOAP service objects don't maintain their session between calls. Since the Novell Service Desk web services interface requires clients to log in before making any other calls, if the service isn't explicitly instructed to maintain its session, the session that gets created during the 'connect()' call is discontinued before the next call is made.

The client's login information is stored in the SOAP session. Therefore when a client connects and then attempts a second call, the interface no longer recognizes that the client is logged in and rejects the second call because of failed authentication.

Formerly known as 1000038