JAL-3878 Use slivka client's URL when building web service
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 11 Apr 2022 17:50:45 +0000 (19:50 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 11 Apr 2022 17:50:45 +0000 (19:50 +0200)
src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java

index 1f46fc3..5bdbcfb 100644 (file)
@@ -169,7 +169,7 @@ public class SlivkaWSDiscoverer extends AbstractWebServiceDiscoverer
   {
     try
     {
-      wsBuilder.url(service.getUrl().toURL());
+      wsBuilder.url(service.getClient().getUrl().toURL());
     } catch (MalformedURLException e)
     {
       e.printStackTrace();