Definition of WebService interface for job submitting int submitJob(String jobDefinition, String jobId) Input Parameters: - String jobDefinition - XML document describing job to be submitted Output Parameters: - String JobId -> unique Job ID Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job migration int migrateJob(String jobId, String jobDefinition) Input Parameters: - String jobId - id of job to be migrated - String jobDefinition - XML document describing migration Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job migration int migrateJob(String jobId) Input Parameters: - String jobId - id of job to be migrated Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job suspending int suspendJob(String jobId, String jobDefinition) Input Parameters: - String jobId - id of job to be suspended - String jobDefinition - XML document describing migration Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job suspending int suspendJob(String jobId) Input Parameters: - String jobId - id of job to be suspended Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job resuming int resumeJob(String jobId, String jobDefinition) Input Parameters: - String jobId - id of job to be migrated - String jobDefinition - XML document describing resumed Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for job resumeing int resumeJob(String jobId) Input Parameters: - String jobId - id of job to be resumed Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for obtaining list of jobs belonging to the user int getMyJobsList(String[] jobsList) Input Parameters: - Output Parameters: - String[] - array of job IDs belonging to the user Return Value: - int: 0 - success >0 - error code Definition of WebService interface for obtaining list of jobs in given state belonging to the user int getMyJobsList(String status, String[] jobsList) Input Parameters: - String status - status of the job Output Parameters: - String[] - array of job IDs belonging to the user Return Value: - int: 0 - success >0 - error code Definition of WebService interface for registering application access int registerApplicationAccess(String jobId, String service_location, int pid) Input Parameters: - String jobId - job identifier - String service_location - location of the application/service - int pod - ProcessID Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for getting the status of job int getJobStatus( String jobId, String status) Input Parameters: - String jobId - job identifier Output Parameters: - String status - status of the job Return Value: - int: 0 - success >0 - error code Definition of WebService interface for getting the name of the host, which the job is running on int getHostName( String jobId, String hostName) Input Parameters: - String jobId - job identifier Output Parameters: - String hostName - name of the host Return Value: - int: 0 - success >0 - error code Definition of WebService interface for testing the description of the job int testJobDescription(String jobId, String errMessage) Input Parameters: - String jobId - job identifier Output Parameters: - String errMessage - error message Return Value: - int: 0 - success >0 - error code Definition of WebService interface for getting the information of job int getJobInfo(String jobId, jobInformation jobInfo) Input Parameters: - String jobId - job identifier Output Parameters: - jobInformation jobInfo - information about the job jobInformation { String userDn; String jobStatus; long submitionTime; long finishTime; String requestStatus; int reqNumStatus; String errorDescription; jobHistory history; } Return Value: - int: 0 - success >0 - error code Definition of WebService interface for getting the history of job int getJobHistory(String jobId, jobHistory[] history) Input Parameters: - String jobId - job identifier Output Parameters: - jobHistory[] history - information about the history jobHistory { String hostName; long startTime; long localStartTime; long localFinishTime; String jobDescription; } Return Value: - int: 0 - success >0 - error code Definition of WebService interface for finding resources int findResources( String resourceDefinition, String[] resources) Input Parameters: - String resourceDefinition - XML document describing resource preferences Output Parameters: - String[] resources -> array of resources (resourceManagerContact) that match user preferences Return Value: - int: 0 - success >0 - error code Definition of WebService interface for canceling a job int cancelJob( String jobId) Input Parameters: - String jobId - job identifier Output Parameters: - Return Value: - int: 0 - success >0 - error code Definition of WebService interface for getting the description of the service String getServiceDescription() Input Parameters: - Output Parameters: - Return Value: - String - containing the description of the service Definition of WebService interface for getting the status of job obtained from Globus int getGlobusJobStatus( String jobId, String status) Input Parameters: - String jobId - job identifier Output Parameters: - String status - status of the job Return Value: - int: 0 - success >0 - error code Definition of WebService interface for obtaining list of all jobs in given state int getJobsList(String status, String[] jobsList) Input Parameters: - String Status - following values are acceptable: STATUS_UNKNOWN STATUS_PENDING STATUS_ACTIVE STATUS_FAILED STATUS_DONE STATUS_SUSPENDED STATUS_UNSUBMITTED STATUS_JOBFINISHED Output Parameters: - String[] - array of job IDs belonging to the user Return Value: - int: 0 - success >0 - error code Definition of WebService interface for registering listner for notifications int registerNotification(String client, int type, String jobId, String listener, String notificationId) Input Parameters: - String client - client identifier - NotificationRequest: - String jobId - job identifier - int eventType - type of event - 1 - status - 2 - request - int notificationType - type of notification - 0 - profile - 1 - sms - 2 - mail - String listener - url of service waiting for notifications - String[] users - users whom the notification should be forwarded to Output Parameters: - String notificationId - identifier of the notification Return Value: - int: 0 - success >0 - error code Definition of WebService interface for unregistering listner for notifications int unregisterNotification( String notificationId) Input Parameters: - String notificationId - identifier of the notification Output Parameters: - Return Value: - int: 0 - success >0 - error code