|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.DataAccessObject
wt.federation.RPCHelper
Fields inherited from class com.infoengine.connector.DataAccessObject |
className, cx, rf |
Constructor Summary | |
RPCHelper()
Create an RPCHelper to the SOAP endpoint configured in properties or the default endpoint |
|
RPCHelper(String endpoint)
Create an RPCHelper to the specified SOAP endpoint. |
Method Summary | |
Group |
doAction(String action,
Object[][] parms,
FeedbackSpec feedBack)
Send a request to perform an action on an Info*Engine SOAP service. |
private Group |
findGroupIn(String gName,
Vector groups)
Searches a Vector of groups Vector for a group by name |
SchemaUtils |
getSchemaUtils()
return schema utility object initialized with same information as this RPCHelper instance. |
private String |
group2xml(Group g)
Convert an Info*Engine group to its XML form |
private void |
init(String endpoint)
Initialize the helper |
void |
setAuthorization(String authorization)
Set the Authorization header. |
void |
setAuthUser(Principal p)
set the "trusted" user |
void |
setLocale(Locale l)
set the locale that interactions should be executed under. |
void |
setPassword(String password)
Set the password to be used to connect to the SOAP service |
void |
setUser(String user)
Set the username to be used to connect to the SOAP service |
private int |
verifyInput(Object[][] parms,
Vector group_ins,
Vector vdb_ins)
Verify doAction input parameters and translate Element, TypeInstance and Group data into the appropriate XML. |
Methods inherited from class com.infoengine.connector.DataAccessObject |
close, execute, setDeserializeMethod, setSerializeMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Hashtable factories
private static final String CLIMBER
private static final String PARM_GRINS
private static final String PARM_VDBINS
private static final String PARM_CLIMBER
private static final String PARM_RMETA
private static final String DEFAULT_CLIMBER
private static final String RETURN_UNTUNNELLED
private static final String SOAP_CLASS
private static final int ARG_NAME
private static final int ARG_VALUE
private static final String RESOURCE
private static final String XML_HEADER
private static String FIXED_SOAP_ENDPOINT
private static int MAX_PORT
private static int MIN_PORT
private static String SOAP_ENDPOINT_PREFIX
private static String SOAP_ENDPOINT_SUFFIX
private static String CONNECTOR_LOG_LEVEL
private static Random RANDOM
private static boolean RENDER_META
public static boolean SIGN_REQUESTS
public static String KEYSTORE_TYPE
public static String KEYSTORE_PACKAGE_PROVIDER
public static String KEYSTORE_FILENAME
public static String KEYSTORE_PASS
public static String PRIVATEKEY_ALIAS
public static String PRIVATEKEY_PASS
public static String CERTIFICATE_ALIAS
public static String SIGNATUREMETHOD_URI
private static boolean SERVER_SIDE_SAX
private static Method SOAP_SERIALIZER
private static Method SOAP_DESERIALIZER
private IeConnectionSpec cxSpec
private javax.resource.cci.ConnectionFactory cxFactory
private SchemaUtils schemaUtils
Constructor Detail |
public RPCHelper(String endpoint) throws WTException
endpoint
- the SOAP endpoint
WTException
public RPCHelper() throws WTException
WTException
Method Detail |
private void init(String endpoint) throws WTException
endpoint
- the SOAP endpoint
WTException
public void setAuthorization(String authorization)
authorization
- the authorization header to usepublic void setUser(String user)
user
- the usernamepublic void setPassword(String password)
password
- the passwordpublic void setLocale(Locale l)
l
- the localepublic void setAuthUser(Principal p)
p
- the userpublic SchemaUtils getSchemaUtils()
public Group doAction(String action, Object[][] parms, FeedbackSpec feedBack) throws WTException
action
- the action to performparms
- the parametersfeedBack
- the FeedbackSpec
WTException
private int verifyInput(Object[][] parms, Vector group_ins, Vector vdb_ins) throws WTException
parms
- the input parametersgroup_ins
- vector to hold input group namesvdb_ins
- vector to hold vdb group names
WTException
private Group findGroupIn(String gName, Vector groups)
gName
- The group name to look for.groups
- The Vector of groups.
private String group2xml(Group g) throws Exception
g
- the group
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |