org.emboss.jemboss.soap
Class PrivateRequest
java.lang.Object
|
+--org.emboss.jemboss.soap.PrivateRequest
- public class PrivateRequest
- extends java.lang.Object
Constructor Summary |
PrivateRequest(JembossParams mysettings,
java.lang.String service,
java.lang.String method)
Make a soap call to a private server |
PrivateRequest(JembossParams mysettings,
java.lang.String service,
java.lang.String method,
java.util.Vector args)
Make a soap call to a private server |
PrivateRequest(JembossParams 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 |
private java.util.Vector |
getVector(java.util.Hashtable h)
|
boolean |
succeeded()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proganswer
private java.util.Hashtable proganswer
result
private java.lang.String result
successful
private boolean successful
authenticationerror
private boolean authenticationerror
PrivateRequest
public PrivateRequest(JembossParams 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
- JembossParams defining server parametersmethod
- String defining which method to callargs
- Vector of arguments
- Throws:
JembossSoapException
- If authentication fails
PrivateRequest
public PrivateRequest(JembossParams mysettings,
java.lang.String service,
java.lang.String method)
throws JembossSoapException
- Make a soap call to a private server
- Parameters:
mysettings
- JembossParams defining server parametersservice
- String defining which service to callmethod
- String defining which method to call
- Throws:
JembossSoapException
- If authentication fails
PrivateRequest
public PrivateRequest(JembossParams 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
- JembossParams defining server parametersservice
- String defining which service to callmethod
- String defining which method to callargs
- Vector of arguments
- Throws:
JembossSoapException
- If authentication fails
getVector
private java.util.Vector getVector(java.util.Hashtable h)
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 up
- Returns:
- 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.