|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object compbio.ws.client.Jws2Client
public class Jws2Client
A command line client for JAva Bioinformatics Analysis Web Services
Method Summary | |
---|---|
static JABAService |
connect(String host,
Services service)
Connects to a web service by the host and the service name web service type |
static RegistryWS |
connectToRegistry(String host)
Get a connection of JABAWS registry |
static Set<Services> |
getServices(String hostname)
|
static void |
main(String[] args)
Starts command line client, if no parameter are supported print help. |
static void |
testService(String hostname,
Services service,
PrintWriter writer)
Asks registry to test the service on the host hostname |
static boolean |
validURL(String urlstr)
Attempt to construct the URL object from the string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean validURL(String urlstr)
urlstr
-
public static void testService(String hostname, Services service, PrintWriter writer) throws ConnectException, WebServiceException
hostname
- service
- writer
-
ConnectException
WebServiceException
public static Set<Services> getServices(String hostname) throws WebServiceException, ConnectException
WebServiceException
ConnectException
public static JABAService connect(String host, Services service) throws WebServiceException, ConnectException
host
- the fully qualified name of JABAWS server including JABAWS
context name e.g
http://nanna.cluster.lifesci.dundee.ac.uk:8080/jabaservice
- the name of the JABAWS service to connect to
WebServiceException
ConnectException
- if fails to connect to the service on the hostpublic static RegistryWS connectToRegistry(String host) throws WebServiceException, ConnectException
host
- the fully qualified name of JABAWS server including JABAWS
context name e.g
http://nanna.cluster.lifesci.dundee.ac.uk:8080/jaba
WebServiceException
ConnectException
public static void main(String[] args)
args
- Usage:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |