package IVR.client.ui;
import bea.jolt.JoltRemoteService;
import bea.jolt.JoltSession;
import bea.jolt.JoltSessionAttributes;
public class SimpleApp {
public static void main(String[] args) {
JoltSession session;
JoltSessionAttributes sattr;
JoltRemoteService joltService;
String userName = "";
String userPassword = "";
String appPassword = "";
String userRole = "";
sattr = new JoltSessionAttributes();
sattr.setString(JoltSessionAttributes.APPADDRESS,
"//XX.XX.X:8307");
sattr.setInt(JoltSessionAttributes.IDLETIMEOUT, 300);
session = new JoltSession(sattr, userName, userRole, userPassword,
appPassword);
joltService = new JoltRemoteService("testServiceName", session);
joltService.setString("sw01_1", "<Hello>");
joltService.setString("sw01_2", "<Hello>");
joltService.setString("sw01_3", "<Hello>");
joltService.setString("sw01_4", "<Hello>");
joltService.setString("sw01_5", "<Hello>");
joltService.setString("sw01_6", "<Hello>");
joltService.setString("sw01_7", "<Hello>");
joltService.setString("sw01_8", "<Hello>");
joltService.call(null);
}
}