ews-java-api
ews-java-api copied to clipboard
A java client library to access Exchange web services. The API works against Office 365 Exchange Online as well as on premises Exchange.
When using ExchangeServices in multiple threads (one for each thread), sometimes these Exceptions occur: ``` microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. Index 40 out of bounds for length 40 at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74) at...
I am using EWS java api 2.0/1.2 version. It works fine on my machine without any proxy. On customer network it throws below error. The request failed. this is usually...
Hello. I've been looking through the code of ews-java-api and realized that it doesn't always handle date/time values correctly. Here is an article in EWS documentation that describes how clients...
Recurrence.WeeklyPattern weeklyPattern = new Recurrence.WeeklyPattern(startsDate, eventDto.getInterval(), dayOfTheWeeks.toArray(new DayOfTheWeek[dayOfTheWeeks.size()])); weeklyPattern.setStartDate(new Date(eventDto.getStartDate())); weeklyPattern.setEndDate(new Date(eventDto.getEndDate())); Calendar cal=Calendar.getInstance(); cal.setFirstDayOfWeek(Calendar.SUNDAY); weeklyPattern.setFirstDayOfWeek(cal); ServiceResponseCollection response = service.createItems( list, folderId, MessageDisposition.SendOnly, SendInvitationsMode.SendToAllAndSaveCopy); Caused by: microsoft.exchange.webservices.data.core.exception.service.local.ServiceXmlSerializationException: Values of type...
I have changed the resource name by powershell. Now the newest resource name is this  but when I use ews java api to call microsoft api, I still get...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project ews-java-api: Compilation failure [ERROR] /home/udp_admin/arcserve1_o/ews_java/src/main/java/microsoft/exchange/webservices/data/core/response/ExecuteDiagnosticMethodResponse.java:[128,32] incompatible types: java.util.Iterator cannot be converted to java.util.Iterator **Note:** This problem was not present with open...
The current library is vulnerable to memory dump inspection techniques, since credentials are stored in several places as reference to a string object. In practice this means that during the...
Many of the calls that exist throw generic Exceptions. It would be nice to have more specific Exceptions thrown for any given call. Generally it would seem that having more...
There is only one exchange installation which manages several sites (on-premise Exchange 2010) . This exchange instance manages room resources for different countries. Therefore we provide the timezone when we...
code: ``` Java EmailAddressCollection rooms = service.getRoomLists(); if(rooms!=null&&rooms.getItems().size()>0){ List roomList = rooms.getItems(); (EmailAddress room: roomList) { System.out.println("room email:"+room.getAddress()); } } ``` result: rooms.getItems().size()==0 how to make rooms contain values?