StatusCode values for web service call?

Avatar

Avatar

MikeTGates

Avatar

MikeTGates

MikeTGates

06-08-2009

I am trying to check the status of a long-lived service using a web service call from a .NET application. I therefore don't have access to the java libraries where the StatusCode constants (enumerations?) are defined. Can someone either tell me a .NET library I can reference in order to use the constant values, or at least tell me what the integer values are, and I can make my own constants.

In case it wasn't cIear, I am using webservice_invokeStatus( jobId ).

Thanks,

Mike Gates

View Entire Topic

Avatar

Avatar

parth_pandya

Avatar

parth_pandya

parth_pandya

06-08-2009

Hi Mike,

Good news!!! I figured out what's happening.

The codes that I posted were related to the Process. They are process status codes.

What you are looking for is related to the Job. So here are the job status codes.

JOB_STATUS_UNKNOWN = 0 (default)
JOB_STATUS_QUEUED = 1
JOB_STATUS_RUNNING=2
JOB_STATUS_COMPLETED=3
JOB_STATUS_FAILED=4
JOB_STATUS_TERMINATED=5
JOB_STATUS_SUSPENDED=6
JOB_STATUS_COMPLETE_REQUESTED=7
JOB_STATUS_TERMINATE_REQUESTED=8
JOB_STATUS_SUSPEND_REQUESTED=9
JOB_STATUS_RESUME_REQUESTED=10

cheers,

Parth