From: Sasha Sherstnev Date: Mon, 30 Sep 2013 13:31:28 +0000 (+0100) Subject: Remove still unsupported methods of RegistryWS X-Git-Url: http://source.jalview.org/gitweb/?p=jabaws.git;a=commitdiff_plain;h=b7c9fc19284680ebe7c16c50e12f583b3f46299a Remove still unsupported methods of RegistryWS --- diff --git a/webservices/compbio/ws/client/Jws2Client.java b/webservices/compbio/ws/client/Jws2Client.java index 4a0b459..cf0cf23 100644 --- a/webservices/compbio/ws/client/Jws2Client.java +++ b/webservices/compbio/ws/client/Jws2Client.java @@ -322,10 +322,10 @@ public class Jws2Client { private static void listAllServices(String hostname) throws WebServiceException, IOException { RegistryWS registry = connectToRegistry(hostname); Set func_services = Collections.emptySet(); - Set nonfunc_services = Collections.emptySet(); + //Set nonfunc_services = Collections.emptySet(); if (registry != null) { func_services = registry.getSupportedServices(); - nonfunc_services = registry.getNonoperatedServices(); + //nonfunc_services = registry.getNonoperatedServices(); FileUtil.closeSilently(((Closeable) registry)); } else { System.out.println("Failed to connect to the registry! "); @@ -336,11 +336,13 @@ public class Jws2Client { String mess = "\n\rThe list:\n"; System.out.println(mess + Services.toString(func_services)); } + /* if (!nonfunc_services.isEmpty()) { System.out.println("There are " + nonfunc_services.size() + " non-available services at " + hostname + ":"); String mess = "The list (internal tests failed): "; System.out.println(mess + Services.toString(nonfunc_services)); } + */ } /**