Retrieve an Spotfire S+ Server Job

DESCRIPTION:

Returns an object containing the specified job.

USAGE:

expressionService.getJobByJobId(serverUrl, userName, password = NA, jobId)

ARGUMENTS:

serverUrl
A character string identifying the server's address (for example: "http://myserver:8080").
userName
A character string containing the identifier (the login name) of user (for example: "johndoe").
password
A character string used to log into the Spotfire S+ server (for example: "myPassword").
jobId
The identifier of the job (For example, 1234).

DETAILS:

The password is not encrypted when it is sent from the client to the server. You can omit the password parameter if server does not require one.

If the requested jobId does not exist, a warning is thrown and an empty data frame is returned. Any other exception is passed to the client.

If the requested job exists, You can use the parseXML method in the spxml library to convert the resultSpxml string into Spotfire S+ objects.

VALUE:

A data frame with one row. (The job id is the row name.)

SEE ALSO:

EXAMPLES:

## Not run: 
## userName <- "johndoe"
## password <- "mypassword"
## serverUrl <- "http://myserver:8080"
## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "")
## resultsFolder <- paste(webdavRoot, "/results", sep = "")
##
## expressionService.getJobByJobId(serverUrl, userName, password, "1234")
## End(Not run)