servicesToBind.add(service.getName());
serverBehavior.updateServices(application.getName(), servicesToBind, new NullProgressMonitor());
}
protected void unbindServiceToApp(CloudApplication application, CloudService service) throws Exception {
CloudApplication updatedApplication = getUpdatedApplication(application.getName());
List<String> boundServices = updatedApplication.getServices();
List<String> servicesToUpdate = new ArrayList<String>();
// Must iterate rather than passing to constructor or using
// addAll, as some
// of the entries in existing services may be null