Previous Topic: How to Specify Special CharactersNext Topic: How to Use a Java Program to Call a Web Service


How Clients Invoke Login and Logout Methods

When you call web services with a Java client, a required process is clients invoking login and logout methods for each web service. A typical process follows:

  1. The client uses a method for login and authentication.

    Each web service has a set of login methods. Client applications can use several login methods for authentication. For example, the logIn method takes the same parameters as the Login window: User ID, Password and Business Unit.

    To view the method parameter information, including signatures, use the following resources:

  2. The Catalog system authenticates the user and determines its role.

    Subsequent method calls operate within the scope of the access rights of the user, as if the user had accessed the GUI.

  3. The client does the following:
  4. The web service returns a session ID. This session ID is a required parameter that the client uses for the remaining web service calls. Because the underlying transport protocol can be either HTTP or non-HTTP, the authentication uses a common logIn web service.

    You can share the session ID across web services. For example, you can use the UserService logIn method to obtain a session ID. You can then use the session ID in a call to a Business Unit web service method.

  5. This session ends when either of the following occur: