SCAPEPlanManagementClient planManagement = new SCAPEPlanManagementClient(endpoint, user, password);
String planIdentifier;
try {
planIdentifier = planManagement.reservePlanIdentifier();
} catch (Exception e) {
throw new PlanningException("Could not reserve Identifier.", e);
} catch (Throwable e) {
throw new PlanningException("Could not reserve Identifier.", e);
}