ServiceInstance si = new ServiceInstance(new URL("https://8.8.8.8/sdk"),
"administrator", "vmware", true);
LicenseManager lm = si.getLicenseManager();
LicenseAssignmentManager lam = lm.getLicenseAssignmentManager();
LicenseAssignmentManagerLicenseAssignment[] las = lam.queryAssignedLicenses(null);
String newLic = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX";
String oldLic = "YYYYY-YYYYY-YYYYY-YYYYY-YYYYY";
List<LicEntity> entities = new ArrayList<LicEntity>();