diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 13ade42..0c8a1f5 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -6527,7 +6527,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OpExecutionDirector director = new OpExecutionDirector(); director.setOperationExecutionBuilder(opEx); director.constructOperationExecution(); - OperationExecution invocation = director.getOperationExecution(); + + ArrayList invocation = director + .getListOperationExecution(); if (invocation == null) { throw new TDGWTServiceException( @@ -6535,7 +6537,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements } logger.debug("OperationInvocation: \n" + invocation.toString()); - Task trTask = service.execute(invocation, tabularResourceId); + Task trTask = service.executeBatch(invocation, tabularResourceId); + logger.debug("Start Task on service: TaskId " + trTask.getId()); TaskWrapper taskWrapper = new TaskWrapper(trTask,