: Class PrivateRequest
org.emboss.jemboss.soap
Class PrivateRequest
java.lang.Object
|
+--org.emboss.jemboss.soap.PrivateRequest
public class PrivateRequest extends java.lang.Object
Constructor Summary
PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String service,
java.lang.String method)
Make a soap call to a private server
PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String service,
java.lang.String method,
java.util.Vector args)
Make a soap call to a private server
PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String method,
java.util.Vector args)
Make a soap call to a private server, using the default service
Method Summary
java.util.Hashtable
getHash ()
java.lang.String
getResult ()
java.lang.Object
getVal (java.lang.String val)
Gets an element out of the embreo result hash
boolean
succeeded ()
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
PrivateRequest
public PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String method,
java.util.Vector args)
throws JembossSoapException
Make a soap call to a private server, using the default service
Parameters: mysettings
- EmbreoParams defining server parametersmethod
- String defining which method to callargs
- Vector of argumentsThrows: JembossSoapException
- If authentication fails
PrivateRequest
public PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String service,
java.lang.String method)
throws JembossSoapException
Make a soap call to a private server
Parameters: mysettings
- EmbreoParams defining server parametersservice
- String defining which service to callmethod
- String defining which method to callThrows: JembossSoapException
- If authentication fails
PrivateRequest
public PrivateRequest (uk.ac.mrc.hgmp.embreo.EmbreoParams mysettings,
java.lang.String service,
java.lang.String method,
java.util.Vector args)
throws JembossSoapException
Make a soap call to a private server
Parameters: mysettings
- EmbreoParams defining server parametersservice
- String defining which service to callmethod
- String defining which method to callargs
- Vector of argumentsThrows: JembossSoapException
- If authentication fails
succeeded
public boolean succeeded ()
Returns: true if the call succeeded (eventually) or not
getVal
public java.lang.Object getVal (java.lang.String val)
Gets an element out of the embreo result hash
Parameters: val
- The key to look upReturns: Either the element, or an empty String if there is no
an element that matches the key
getResult
public java.lang.String getResult ()
Returns: The result of the soap server call. This is the first element that
is returned. Only useful for server methods that return a simple value.
getHash
public java.util.Hashtable getHash ()
Returns: Hahtable of results returned by the server call.