<!--NewPage-->\r
<HTML>\r
<HEAD>\r
-<!-- Generated by javadoc (build 1.6.0_14) on Wed Feb 17 16:46:50 GMT 2010 -->\r
+<!-- Generated by javadoc (build 1.6.0_24) on Wed Dec 07 12:30:41 GMT 2011 -->\r
<TITLE>\r
WSTester\r
</TITLE>\r
\r
-<META NAME="date" CONTENT="2010-02-17">\r
+<META NAME="date" CONTENT="2011-12-07">\r
\r
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">\r
\r
\r
<TR>\r
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../compbio/ws/client/Jws2Client.Services.html" title="enum in compbio.ws.client"><B>PREV CLASS</B></A> \r
+ <A HREF="../../../compbio/ws/client/ServicesUtil.html" title="class in compbio.ws.client"><B>PREV CLASS</B></A> \r
NEXT CLASS</FONT></TD>\r
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
<A HREF="../../../index.html?compbio/ws/client/WSTester.html" target="_top"><B>FRAMES</B></A> \r
</TR>\r
<TR>\r
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
</TR>\r
</TABLE>\r
<A NAME="skip-navbar_top"></A>\r
<BR>\r
Class WSTester</H2>\r
<PRE>\r
-java.lang.Object\r
+<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>\r
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>compbio.ws.client.WSTester</B>\r
</PRE>\r
<HR>\r
<DL>\r
-<DT><PRE>public class <B>WSTester</B><DT>extends java.lang.Object</DL>\r
+<DT><PRE>public class <B>WSTester</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>\r
</PRE>\r
\r
<P>\r
\r
<P>\r
<DL>\r
+<DT><B>Version:</B></DT>\r
+ <DD>1.0 February 2010</DD>\r
<DT><B>Author:</B></DT>\r
- <DD>pvtroshin
-
- Date February 2010</DD>\r
+ <DD>pvtroshin</DD>\r
</DL>\r
<HR>\r
\r
<P>\r
+<!-- =========== FIELD SUMMARY =========== -->\r
+\r
+<A NAME="field_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Field Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#fastaAlignment">fastaAlignment</A></B></CODE>\r
+\r
+<BR>\r
+ </TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#fastaInput">fastaInput</A></B></CODE>\r
\r
+<BR>\r
+ Sequences to be used as input for all WS</TD>\r
+</TR>\r
+</TABLE>\r
+ \r
<!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
\r
<A NAME="constructor_summary"><!-- --></A>\r
<B>Constructor Summary</B></FONT></TH>\r
</TR>\r
<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#WSTester()">WSTester</A></B>()</CODE>\r
+<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#WSTester(java.lang.String, java.io.PrintWriter)">WSTester</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hostname,\r
+ <A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A> writer)</CODE>\r
\r
<BR>\r
- </TD>\r
+ Construct an instance of JABAWS tester</TD>\r
</TR>\r
</TABLE>\r
\r
</TR>\r
<TR BGCOLOR="white" CLASS="TableRowColor">\r
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE> boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#checkService(compbio.ws.client.Services)">checkService</A></B>(<A HREF="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</A> service)</CODE>\r
+\r
+<BR>\r
+ Test JABA web service</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
<CODE>static\r
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">\r
<TR ALIGN="right" VALIGN="">\r
</TR>\r
</TABLE>\r
</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>\r
+<TD><CODE><B><A HREF="../../../compbio/ws/client/WSTester.html#main(java.lang.String[])">main</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] args)</CODE>\r
\r
<BR>\r
Test JWS2 web services</TD>\r
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
-<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>\r
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>\r
</TR>\r
<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
+<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>\r
</TR>\r
</TABLE>\r
\r
<P>\r
\r
+<!-- ============ FIELD DETAIL =========== -->\r
+\r
+<A NAME="field_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Field Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="fastaInput"><!-- --></A><H3>\r
+fastaInput</H3>\r
+<PRE>\r
+public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>fastaInput</B></PRE>\r
+<DL>\r
+<DD>Sequences to be used as input for all WS\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#compbio.ws.client.WSTester.fastaInput">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="fastaAlignment"><!-- --></A><H3>\r
+fastaAlignment</H3>\r
+<PRE>\r
+public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>fastaAlignment</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#compbio.ws.client.WSTester.fastaAlignment">Constant Field Values</A></DL>\r
+</DL>\r
+\r
<!-- ========= CONSTRUCTOR DETAIL ======== -->\r
\r
<A NAME="constructor_detail"><!-- --></A>\r
</TR>\r
</TABLE>\r
\r
-<A NAME="WSTester()"><!-- --></A><H3>\r
+<A NAME="WSTester(java.lang.String, java.io.PrintWriter)"><!-- --></A><H3>\r
WSTester</H3>\r
<PRE>\r
-public <B>WSTester</B>()</PRE>\r
+public <B>WSTester</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hostname,\r
+ <A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A> writer)</PRE>\r
<DL>\r
+<DD>Construct an instance of JABAWS tester\r
+<P>\r
+<DL>\r
+<DT><B>Parameters:</B><DD><CODE>hostname</CODE> - - fully qualified host and context name of JABAWS e.g.
+ http://nanna.cluster.lifesci.dundee.ac.uk:8080/jaba<DD><CODE>writer</CODE> - a PrintWriter instance to writer test log to.</DL>\r
</DL>\r
\r
<!-- ============ METHOD DETAIL ========== -->\r
<A NAME="main(java.lang.String[])"><!-- --></A><H3>\r
main</H3>\r
<PRE>\r
-public static <T> void <B>main</B>(java.lang.String[] args)</PRE>\r
+public static <T> void <B>main</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] args)\r
+ throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>\r
<DL>\r
<DD>Test JWS2 web services\r
<P>\r
context path>
-s=<ServiceName> which is optional. If service name is not
- provided then all known JWS2 web services are tested</DL>\r
+ provided then all known JWS2 web services are tested\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="checkService(compbio.ws.client.Services)"><!-- --></A><H3>\r
+checkService</H3>\r
+<PRE>\r
+public boolean <B>checkService</B>(<A HREF="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</A> service)\r
+ throws <A HREF="http://java.sun.com/javase/6/docs/api/java/net/ConnectException.html?is-external=true" title="class or interface in java.net">ConnectException</A>,\r
+ <A HREF="http://java.sun.com/javase/6/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>\r
+<DL>\r
+<DD>Test JABA web service\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>service</CODE> - the service to test\r
+<DT><B>Returns:</B><DD>true if the service works as expected, false otherwise\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE>\r
+<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/net/ConnectException.html?is-external=true" title="class or interface in java.net">ConnectException</A></CODE></DL>\r
</DD>\r
</DL>\r
<!-- ========= END OF CLASS DATA ========= -->\r
\r
<TR>\r
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../compbio/ws/client/Jws2Client.Services.html" title="enum in compbio.ws.client"><B>PREV CLASS</B></A> \r
+ <A HREF="../../../compbio/ws/client/ServicesUtil.html" title="class in compbio.ws.client"><B>PREV CLASS</B></A> \r
NEXT CLASS</FONT></TD>\r
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
<A HREF="../../../index.html?compbio/ws/client/WSTester.html" target="_top"><B>FRAMES</B></A> \r
</TR>\r
<TR>\r
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
</TR>\r
</TABLE>\r
<A NAME="skip-navbar_bottom"></A>\r