public String[] convert(String data, ConversionInfo info, MessageLogger logger)
throws FailTransferException, AbortTransferException {
String[] results = new String[1];
try {
ImportResult result = openInterface.importOrders(oiLoginInfo, data, oiImportMode, additiveAnswerUpdate, additiveBasketUpdate, invokeReceivedEvents);
WorkspaceOIUtils.logImportResult(result, logger, this, false);
}
catch(AccessDeniedException ade) {
logger.logMessage("Access to Open Interface denied. Check your login information.", this, MessageLogger.ERROR);
PipeComponentUtils.failTransfer();