After obtaining a valid session, create a Policy Management API object by passing the session to the constructor of the SmPolicyApiImpl class—for example:
SmPolicyApi policyApi = new SmPolicyApiImpl (apiSession);
In the example, policyApi is the new Policy Management API object and apiSession is the session obtained when the administrator successfully logged in.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |