: new Vector<Jws2Instance>(services);
}
+ /**
+ * test the given URL with the JabaWS test code
+ * @param foo
+ * @return
+ */
+ public static boolean testServiceUrl(URL foo)
+ {
+ try {
+ compbio.ws.client.WSTester.main(new String[] { "-h="+foo.toString()});
+ } catch (Exception e)
+ {
+ return false;
+ }
+ catch (OutOfMemoryError e)
+ {
+ return false;
+ }
+ catch (Error e)
+ {
+ return false;
+ }
+ return true;
+ }
+
}