FolderId folderId = new FolderId(WellKnownFolderName.Calendar, new Mailbox(email)); CalendarFolder cf = CalendarFolder.bind(service, folderId); findResults = cf.findAppointments(new CalendarView(startDate, endDate));
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2); ExchangeCredentials credentials = new WebCredentials("mylogin", PASSWORD); service.setCredentials(credentials); service.setUrl(new URI("https://blabla/EWS/Exchange.asmx")); appointment = new Appointment(service); appointment.getRequiredAttendees().add(email);
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2); ExchangeCredentials credentials = new WebCredentials(LOGIN_WINDOWS, PASSWORD); credentials.preAuthenticate();
ExchangeCredentialsand keep Implementations to the inherited classes.
Does anyone have Version 1.1.5 source laying around? It used to be hosted at 'http://archive.msdn.microsoft.com/ewsjavaapi EWSJavaAPI_1.1.5.zip'
Here's what the page used to look like, but you could also download the file: