X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fdm_javadoc%2Fcompbio%2Fws%2Fclient%2FWSTester.html;fp=website%2Fdm_javadoc%2Fcompbio%2Fws%2Fclient%2FWSTester.html;h=d97a870d31c0ee3f20e1a417030cb0f470fabd50;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/dm_javadoc/compbio/ws/client/WSTester.html b/website/dm_javadoc/compbio/ws/client/WSTester.html new file mode 100644 index 0000000..d97a870 --- /dev/null +++ b/website/dm_javadoc/compbio/ws/client/WSTester.html @@ -0,0 +1,368 @@ + + + + + + +WSTester + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +compbio.ws.client +
+Class WSTester

+
+java.lang.Object
+  extended by compbio.ws.client.WSTester
+
+
+
+
public class WSTester
extends java.lang.Object
+ + +

+Class for testing web services +

+ +

+

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

+ + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringfastaAlignment + +
+           
+static java.lang.StringfastaInput + +
+          Sequences to be used as input for all WS
+  + + + + + + + + + + +
+Constructor Summary
WSTester(java.lang.String hostname, + java.io.PrintWriter writer) + +
+          Construct an instance of JABAWS tester
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckService(Services service) + +
+          Test JABA web service
+static + + + + +
+<T> void
+
main(java.lang.String[] args) + +
+          Test JWS2 web services
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+fastaInput

+
+public static final java.lang.String fastaInput
+
+
Sequences to be used as input for all WS +

+

+
See Also:
Constant Field Values
+
+
+ +

+fastaAlignment

+
+public static final java.lang.String fastaAlignment
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+WSTester

+
+public WSTester(java.lang.String hostname,
+                java.io.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.
+
+ + + + + + + + +
+Method Detail
+ +

+main

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

+

+
Type Parameters:
T - web service type
Parameters:
args - -h= + + -s= which is optional. If service name is not + provided then all known JWS2 web services are tested +
Throws: +
java.io.IOException
+
+
+
+ +

+checkService

+
+public boolean checkService(Services service)
+                     throws java.net.ConnectException,
+                            javax.xml.ws.WebServiceException
+
+
Test JABA web service +

+

+
Parameters:
service - the service to test +
Returns:
true if the service works as expected, false otherwise +
Throws: +
javax.xml.ws.WebServiceException +
java.net.ConnectException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + +