RasWebService
The following operations are supported. For a formal definition, please review the Service Description.
-
DeployToRas
Perform the deploy of an rdx process file into process folder of the server RAS
'ProjectFolderName --> Optional subfolder where to deploy the process
'UploadedFilename --> Filename of the uploaded RDX file to RAS
'FileBinaryData --> Binary array data of the uploaded RDX file
'Options --> (CLEARFOLDER) Cleanup content of target subfolder if exist
-
DeployToWeb
Perform deploy of file resources into WebPlayer folder for the RAS server
'ProjectFolderName --> Optional subfolder where to deploy resource files
'UploadedFilename --> ilename of the uploaded resource file to WebPlayer
'FileBinaryData --> Binary array data of the upload (.Zip will be expanded)
'Options --> (CLEARFOLDER) Cleanup content of target subfolder if exist
-
EvalContextExist
Verify that a context for expression evaluation already exist
'ProcessContextId --> Evaluation context or running process context
-
EvalContextInit
Initialize an existing context or create a new context for the expression evaluator
'CreateAsNew --> Indicate if a new context is needed or the existing one can be reused
'ProcessContextId --> Evaluation context or running process context
'SemanticEnvData --> Optional semantic environment (XML serialization or other custom formats)
'SnapshotVarsData --> Optional variable definitions (XML snapshot or other custom formats)
'UseCompression --> True if xml data are sent compressed (zipString)
Options
' (FILTER=regexp) import only variables that match the specified regular expression filter
' (ENVTYPE=RDT) Parse SemanticEnvData as standard .RDT format (comma delimited)
' (VARTYPE=CST) Parse SnapshotVarsData as structured constants (rows: var = constant)
-
EvalExpression
Use an existing initialized context for evaluate RDBasic expressions and calculate the result
'ProcessContextId --> Evaluation context or running process context
'Expression --> Text of the expression to evaluate
'Options --> Options left for future enhancements
ExecRasOperationWebResult
The expression result is inserted as reply message in string format
-
ExecRasOperation
Send commands to a running RAS service
'ProcessContextId --> Process context ID as returned by StartRDProcess
'RasInstanceId --> Instance ID of the RAS server (0=local ras server)
'RasOperation --> Operation to execute on RAS server (undocumented)
'Options --> Advanced options for future enhancements
Note: This procedure is under development and available for future developments
-
GetProcessInfo
Get status informations about a running process tracked by RAS server
'ProcessContextId --> Process context ID as returned by StartRDProcess
'RasInstanceId --> Instance ID of the RAS server (0=local ras server)
'RasOperation --> Operation to execute on RAS server (undocumented)
'Options --> Advanced options for future enhancements
GetProcessInfoWebResult
Structure containing all runtime info requested to RAS server
-
StartRDProcess
Send to RAS server instructions for launching a new process
'ProcessFileName --> Short filename of RDX process to launch (without path)
'ProcessParamList --> Array of simple parameters for the process
'ProjectFolderName --> Optional single folder where to locate the process
Options
' (WAIT) Remain blocked until the process has terminated
' (URLPARAMS) Pass all input parameters as querystring for web
' (RASDEBUG) Execute process using designer with -debug flag
' (RASBREAK) Execute process using player with -break flag
' (32BITMODE) Force player executor to start in 32bit mode
' (64BITMODE) Force player executor to start in 64bit mode
StartRDProcessWebResult
Structure containing ProcessContextId and RasInstanceId of the spawned process
All OutputParameters are included if (WAIT) tag is specified and process is system