}
WebClient finalClient = createClient(locationHeader2.toString(),
"barry@restaurant.com", "5678");
finalClient.accept("application/xml");
ReservationConfirmation confirm = finalClient.get(ReservationConfirmation.class);
if (confirm != null) {
updateAndGetUserCalendar(7, "Dinner at " + confirm.getAddress());
} else {
System.out.println("Reservation failed");
}
}