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.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|