X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fdm_javadoc%2Fcompbio%2Fws%2Fclient%2FWSTester.html;h=59e18de71b585d91e7e3067051b9d7bf39716773;hb=bc3346bd7c1c518fad867d4c60a53779e7516588;hp=019e7f05c88b7dd1f6923e3bb10ba940ef291951;hpb=535359a3d592ee41bda72e7356f0181f6cee9d07;p=jabaws.git diff --git a/website/dm_javadoc/compbio/ws/client/WSTester.html b/website/dm_javadoc/compbio/ws/client/WSTester.html index 019e7f0..59e18de 100644 --- a/website/dm_javadoc/compbio/ws/client/WSTester.html +++ b/website/dm_javadoc/compbio/ws/client/WSTester.html @@ -2,12 +2,12 @@ - + WSTester - + @@ -55,7 +55,7 @@ function windowTitle() PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -92,12 +92,12 @@ compbio.ws.client
Class WSTester
-java.lang.Object
+java.lang.Object
   extended by compbio.ws.client.WSTester
 

-
public class WSTester
extends java.lang.Object
+
public class WSTester
extends Object

@@ -106,10 +106,10 @@ Class for testing web services

+
Version:
+
1.0 February 2010
Author:
-
pvtroshin - - Date February 2010
+
pvtroshin

@@ -124,10 +124,11 @@ Class for testing web services Constructor Summary -WSTester() +WSTester(String hostname, + PrintWriter writer)
-            +          Construct an instance of JABAWS tester   @@ -141,6 +142,14 @@ Class for testing web services + boolean +checkService(Services service) + +
+          Test JABA web service + + + static @@ -149,7 +158,7 @@ Class for testing web services
-main(java.lang.String[] args) +main(String[] args)
          Test JWS2 web services @@ -158,10 +167,10 @@ Class for testing web services   - + - +
Methods inherited from class java.lang.ObjectMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  @@ -177,11 +186,17 @@ Class for testing web services -

+

WSTester

-public WSTester()
+public WSTester(String hostname, + PrintWriter writer) +
+
Construct an instance of JABAWS tester +

+
Parameters:
hostname - - fully qualified host and context name of JABAWS e.g. + http://nanna.cluster.lifesci.dundee.ac.uk:8080/jaba
writer - a PrintWriter instance to writer test log to.
@@ -197,7 +212,8 @@ public WSTester()

main

-public static <T> void main(java.lang.String[] args)
+public static <T> void main(String[] args) + throws IOException
Test JWS2 web services

@@ -206,7 +222,28 @@ public static <T> void main(java.lang.String[] args) context path> -s= which is optional. If service name is not - provided then all known JWS2 web services are tested

+ provided then all known JWS2 web services are tested +
Throws: +
IOException +
+ +
+ +

+checkService

+
+public boolean checkService(Services service)
+                     throws ConnectException,
+                            WebServiceException
+
+
Test JABA web service +

+

+
Parameters:
service - the service to test +
Returns:
true if the service works as expected, false otherwise +
Throws: +
WebServiceException +
ConnectException
@@ -240,7 +277,7 @@ public static <T> void main(java.lang.String[] args) PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES