diff --git a/src/main/java/eu/omp/irap/vespa/epntapclient/epntap/EpnTapController.java b/src/main/java/eu/omp/irap/vespa/epntapclient/epntap/EpnTapController.java index 26d043f..794037d 100644 --- a/src/main/java/eu/omp/irap/vespa/epntapclient/epntap/EpnTapController.java +++ b/src/main/java/eu/omp/irap/vespa/epntapclient/epntap/EpnTapController.java @@ -109,7 +109,11 @@ public abstract class EpnTapController { LOGGER.info("Sending query(ies) on " + StringJoiner.join(servicesUrls)); for (int i = 0; i < servicesUrls.size(); i++) { String query = getRequestCtrl().getQuery(services.getTableNames().get(i)); - getResultsCtrl().appendVOTable(servicesUrls.get(i), query); + if (i == 0) { + getResultsCtrl().newVOTable(servicesUrls.get(i), query); + } else { + getResultsCtrl().appendVOTable(servicesUrls.get(i), query); + } } } -- libgit2 0.21.2