Login web service

The WS-I web service LoginAPI replaces the deprecated RPCE web service ILoginAPI. However, the WS-I version of LoginAPI differs notably from the RPCE version it replaces.

The deprecated RPCE web service ILoginAPI plays a critical role in RPCE for server authentication for subsequent method calls to the web service. If you use the generated Java libraries and its APILocator utility class, APILocator indirectly uses ILoginAPI.

The WS-I web service LoginAPI plays no analogous role in WS-I for server authentication. Authentication happens effectively with each WS-I method call. PolicyCenter provides the LoginAPI web service to let you test your web service client explicitly for specific authentication credentials. Call the login method with a username and a password as type String. If authentication fails, the login method throws an exception.

Note: You can also use the LoginAPI to intentionally leave a user session open for logging purposes.

See also