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:
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:
Subsequent method calls operate within the scope of the access rights of the user, as if the user had accessed the GUI.
Typically, the client already has this information.
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.
Once you are finished using a session ID, you call the logOut web service to terminate the session and invalidate the session ID. Managing sessions efficiently in this manner helps you obtain the best performance.
The client can use the session ID repeatedly within the timeout period. If the session times out, the session ID becomes invalid.
To change the timeout value, update the administration configuration setting named User Default: Session Timeout.
Note: For instructions to modify configuration settings, see the Implementation Guide.
Copyright © 2013 CA.
All rights reserved.
|
|