diff --git a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXRegistrySelectionCard.java b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXRegistrySelectionCard.java index 74175bd..bf53c17 100644 --- a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXRegistrySelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXRegistrySelectionCard.java @@ -142,8 +142,8 @@ public class SDMXRegistrySelectionCard extends WizardCard { ((SDMXRegistrySource) importSession.getSource()) .setUrl(url.getCurrentValue()); - TDGWTServiceAsync.INSTANCE.setSDMXSession( - importSession, new AsyncCallback() { + TDGWTServiceAsync.INSTANCE.setSDMXRegistrySource( + ((SDMXRegistrySource)importSession.getSource()), new AsyncCallback() { @Override public void onFailure(Throwable caught) { @@ -153,7 +153,7 @@ public class SDMXRegistrySelectionCard extends WizardCard { @Override public void onSuccess(Void result) { - Log.info("SDMXImportSession stored"); + Log.info("SDMXRegistrySource stored"); } });