The first step in establishing contact with Reporting and Analysis and EPM Workspace services is to obtain a Session interface by using a static getInstance() method of the Oracle's Hyperion® Interactive Reporting SDK SessionFactory class. This class validates the login information that you pass from your program to EPM Workspace and subsequently passes back to your program the Session interface that represents the connection between EPM Workspace and your program. This code fragment demonstrates how to use Reporting and Analysis and EPM Workspace SDK to connect to EPM Workspace:
try
{
String user = args[0];
String pwd = args[1];
String host = args[2];
String port = args[3];
Session theSession = SessionFactory.getInstance(user, pwd, host, port);
…
…
}
catch (ReportMartException e)