|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcompbio.ws.client.Jws2Client
public class Jws2Client
A command line client for JAva Bioinformatics Analysis Web Services
| Method Summary | |
|---|---|
static JABAService |
connect(java.lang.String host,
Services service)
Connects to a web service by the host and the service name web service type |
static RegistryWS |
connectToRegistry(java.lang.String host)
Get a connection of JABAWS registry |
static java.util.Set<Services> |
getServices(java.lang.String hostname)
|
static void |
main(java.lang.String[] args)
Starts command line client, if no parameter are supported print help. |
static void |
testService(java.lang.String hostname,
Services service,
java.io.PrintWriter writer)
Asks registry to test the service on the host hostname |
static boolean |
validURL(java.lang.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(java.lang.String urlstr)
urlstr -
public static void testService(java.lang.String hostname,
Services service,
java.io.PrintWriter writer)
throws java.net.ConnectException,
javax.xml.ws.WebServiceException
hostname - service - writer -
java.net.ConnectException
javax.xml.ws.WebServiceException
public static java.util.Set<Services> getServices(java.lang.String hostname)
throws javax.xml.ws.WebServiceException,
java.net.ConnectException
javax.xml.ws.WebServiceException
java.net.ConnectException
public static JABAService connect(java.lang.String host,
Services service)
throws javax.xml.ws.WebServiceException,
java.net.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
javax.xml.ws.WebServiceException
java.net.ConnectException - if fails to connect to the service on the host
public static RegistryWS connectToRegistry(java.lang.String host)
throws javax.xml.ws.WebServiceException,
java.net.ConnectException
host - the fully qualified name of JABAWS server including JABAWS
context name e.g
http://nanna.cluster.lifesci.dundee.ac.uk:8080/jaba
javax.xml.ws.WebServiceException
java.net.ConnectExceptionpublic static void main(java.lang.String[] args)
args - Usage:
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||