org.emboss.jemboss.soap
Class PrivateRequest

java.lang.Object
  extended byorg.emboss.jemboss.soap.PrivateRequest

public class PrivateRequest
extends java.lang.Object

Make a axis call to a private server, using the default service


Field Summary
private  java.util.Hashtable proganswer
          results from calling the web service
 
Constructor Summary
PrivateRequest(JembossParams mysettings, java.lang.String service, java.lang.String method)
           
PrivateRequest(JembossParams mysettings, java.lang.String service, java.lang.String method, java.util.Vector args)
           
PrivateRequest(JembossParams mysettings, java.lang.String method, java.util.Vector args)
           
 
Method Summary
 java.util.Hashtable getHash()
          Get the results returned by the server call
 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)
          Change the contents of a hashtable to a vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proganswer

private java.util.Hashtable proganswer
results from calling the web service

Constructor Detail

PrivateRequest

public PrivateRequest(JembossParams mysettings,
                      java.lang.String method,
                      java.util.Vector args)
               throws JembossSoapException
Parameters:
mysettings - jemboss properties
method - method to call
args - arguments
Throws:
JembossSoapException - if authentication fails

PrivateRequest

public PrivateRequest(JembossParams mysettings,
                      java.lang.String service,
                      java.lang.String method)
               throws JembossSoapException
Parameters:
mysettings - jemboss properties
service - service to call
method - 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
Parameters:
mysettings - jemboss properties
service - service to call
method - method to call
args - arguments
Throws:
JembossSoapException - if authentication fails
Method Detail

getVector

private java.util.Vector getVector(java.util.Hashtable h)
Change the contents of a hashtable to a vector

Returns:
contents of the hash

getVal

public java.lang.Object getVal(java.lang.String val)
Gets an element out of the embreo result hash

Parameters:
val - key to look up
Returns:
the element, or an empty String if there is no element that matches the key

getHash

public java.util.Hashtable getHash()
Get the results returned by the server call

Returns:
results