runRpc() public method

public runRpc ( ConnectionSet cxns, string rpcName, string paramValues, int paramTypes, bool paramEncrypted ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
rpcName string
paramValues string
paramTypes int
paramEncrypted bool
return IndexedHashtable
Example #1
0
        public TaggedTextArray runRpc(string rpcName, string[] paramValues, int[] paramTypes, bool[] paramEncrypted)
        {
            TaggedTextArray result = new TaggedTextArray();

            try
            {
                ToolsApi api = new ToolsApi();
                IndexedHashtable s = api.runRpc(mySession.ConnectionSet, rpcName, paramValues, paramTypes, paramEncrypted);
                return new TaggedTextArray(s);
            }
            catch (Exception exc)
            {
                result.fault = new FaultTO(exc);
                return result;
            }
        }