// ----------------------------
// Connect to the OpenInterface
// ----------------------------
String oiEndpointAddress = WorkspaceOIUtils.getOIEndpointAddress(database, host, logger, this);
OpenInterfaceIF oi = WorkspaceOIUtils.getOpenInterfaceIF(oiEndpointAddress, host);
// -------------
// Do the import
// -------------
try {
LoginInfo login = new LoginInfo();
login.setDatabase(database);
login.setUserName(user);
login.setPassword(password);
ImportResult result = oi.importProducts2(
login,
data,
importMode.intValue(),
additiveOptionUpdate,
additiveGroupUpdate,