Integration Server 10.7 | Built-In Services Reference Guide | Packages Folder | Summary of Elements in this Folder | pub.packages:enablePackage
 
pub.packages:enablePackage
WmPublic. Enables a package that has been disabled.
Note:
This service enables a package that is in a disabled state (that is, a package that has been disabled through the Integration Server Administrator or the pub.packages:disablePackage service). To activate a package that is in an inactive state, you use enablePackage.
Input Parameters
package
String Name of the package that you want to enable. Package names are case sensitive.
Output Parameters
message
String Message from server. (This is the same message that you receive when you enable a package with the Integration Server Administrator.)
Usage Notes
When you enable a package, the package is reloaded into memory from disk.
This service will throw an exception if the package specified in package does not exist, has not been activated, or cannot otherwise be enabled.
See Also
pub.packages:disablePackage
pub.packages:activatePackage
pub.packages:reloadPackage