USSomo-OGCE Bridge Clients Information

Submit Job

Used to submit job to resource using GFAC. This service needs a xml message with job parameters and header data to submit job to compute resource.

Registered resources are

Service URL :

Method : POST

Post the xml according to sample xml to this url to submit the job. Most of the parameter in header are optional. they are only helpful to configure runtime parameters to your job. You can leave the experimentid also blank and service will create one for you.

Sample XML :

<?xml version="1.0" encoding="UTF-8"?>
        <experimentid>US-SOMO-$UID</experimentid> (optional)
        <emailparam>abe</emailparam>(optional:Same as PBS param. default is set to abort(a) in GFAC. If you want email on job start and end)
        <executable>executablename</executable>(optional:by default it will take the defined executable. If the path of new executable is different then provide full path)

This service returns you a xml message with experimentid in following format

<?xml version="1.0" encoding="UTF-8"?>

Job Status

To get status of current experiment. You need to create following url with experimentid which was returned from Submit job service.

Service URL :$experimentid

Method: GET

Service will return xml message with status of current job status on compute resource. Response format is

<?xml version="1.0" encoding="UTF-8"?>
    <message>Job working folders etc</message>

Other status are : SUBMITTED|INITIALIZED|PENDING|ACTIVE|COMPLETED|CANCELED|FAILED|UNKNOWN(if job id does not exit in job database)

Cancel Job

To cancel running or queued jobs from compute resource. Pass experimentid from Submit Job service.

Service URL :$experimentid

Method : GET

Service will return call status. It can either be Success or Already Canceled in following xml format

<?xml version="1.0" encoding="UTF-8"?>

Other status are: CANCELED | NOTALLOWED(if already canceled or completed) | UNKNOWN(if job id does not exit in job database)

Services Code

SVN location of this code is
Last modified 8 years ago Last modified on Apr 13, 2012 3:19:23 PM