Previous Topic: Creating a Software JobNext Topic: Closing the Session


Sealing and Activating a Job

Now activate your newly created software job with the UUID of the new container for the software job.

Example 11: Sealing and Activating a Software Job Container to Deliver Software

//seal and activate the job container
Integer retVal = wsAPIconnector.sealAndActivateSoftwareJobContainer(getSessionId(), containerId);

if(retVal.intValue() != 0)
	return UDSMWebService.SEAL_AND_ACTIVATE_ERROR;

It is important that once the job is activated, you check back on the status of the container and/or the job to ensure that it completed successfully. This can be done by retrieving the status property using a call to GetSoftwareJobContainer or GetSoftwareJob.