Questions tagged [ewsjavaapi]

Java implementation of the Exchange Web Services (EWS) API. This API gives developers programmatic access to Exchange Server 2007 SP1 and above.

Java implementation of the Exchange Web Services (EWS) API. This API gives developers programmatic access to Exchange Server 2007 SP1 and above.

153 questions
5
votes
1 answer

The Autodiscover service couldn't be located

I am using EWS Java API 1.1 to access an Exchange 2010 account as follows: ExchangeService service = new ExchangeService(); ExchangeCredentials credentials = new WebCredentials(email, …
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
3
votes
1 answer

Android - Apache commons libraries & Exchange Web Service Managed API

I am already trying the exchange web service in Java. It's running good. It has send email or get emails correctly. My java code looks like this : public static void main(String[] args) { try { Locale.setDefault(Locale.ENGLISH); …
3
votes
1 answer

Exchange webservice error: the request failed. null

I am using EWS-java-api to access an outlook email and read emails. I am running into the following error: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. null Here is my code: …
AntsaR
  • 380
  • 1
  • 9
  • 28
3
votes
0 answers

Accept meeting response on behalf of another user - ews-java-api EWS

I have a super user that has Calendar read/write access to all users. The super user creates an appointment in another user's Calendar: Appointment appointment = new Appointment(service); // create an event in userA's calendar Folder…
Sumama Waheed
  • 3,579
  • 3
  • 18
  • 32
3
votes
1 answer

Exchange Web Services Java APi + RESTful Push Notifications Listener

i'm trying to make my listener work with the ews java API but i can't.. I hope you can help me ! I've done the following steps: 1)Connect to the exchange web service ExchangeService newService = new…
3
votes
1 answer

EWS FindItem call returns incorrect EffectiveRights values

I'm using a FindItem call to get items (appointments) from Exchange Web Services (EWS). The properties which are fetched are the item Id and the EffectiveRights. The EffectiveRights property often does not contain the correct values. Sometimes,…
P44T
  • 1,109
  • 12
  • 21
3
votes
1 answer

EWS Java API 1.1 creating appointment - missing TimeZoneDefinition

I have an Exchange Server 2007 SP1 and want to create an appointment with the EWS Java API 1.1. I got an Exception that I have to set the time zone definition first. appointment.setStartTimeZone(new TimeZoneDefinition(){{ setName( "W.…
2
votes
0 answers

How to get a list of shared mailboxes for a user in ews-java-api?

Currently, I am able to access the shared mailbox of a user account if I already know the address of the shared mailbox. However, if I know just the user account details (but not the shared mailboxes it has access to), how can I retrieve the list of…
2
votes
3 answers

How to get DL in Exchange Server using Java API?

How to get DL (distribution List) from Microsoft Exchange Server via EWS in Java? I have tried EWS Java API but could not find list of Distribution List(GAL) of exchange server, any help regarding to this API or any other would be appreciated.
2
votes
2 answers

ExchangeVersion for MS exchange server 2013 not found

In order to monitor an e-mail account on an MS exchange server 2013 , I am using ews-java-api version 2.0. I am facing one problem with this api. The status of the source code in GitHub says that the api is outdated. In fact, the source code of the…
ecdhe
  • 421
  • 4
  • 17
2
votes
0 answers

Delivery fails for EWS/Office365 sent emails

We're building a service that sends emails for Office365 users using EWS (or REST API) with OAuth2. For some reason when testing email sending using our _.onmicrosoft.com accounts we get the following errors: Your message wasn't delivered because…
Alexey
  • 556
  • 1
  • 5
  • 18
2
votes
1 answer

Accessing Office 365 cloud from Java Application

could you please tell me difference between Office 365 REST API and EWS Java API. I searched for Java library for REST API, but there is no library available. We have written our application in Java so which way (REST API/Ews Java API) we need to…
Rams
  • 2,141
  • 5
  • 33
  • 59
2
votes
2 answers

NoSuchMethodError on ews-java-api

I'm having some issues trying to use exchange webservices for java. I'm getting following NoSuchMethodError. java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/protocol/HttpClientContext; I've tried reinstalling…
mathletics
  • 271
  • 1
  • 4
  • 15
2
votes
1 answer

How to get rights to access another mailbox calendar using EWS JAVA API

I am able to get the meeting rooms available in my Organisation using the below code, I need to get the appointment of the particular room, so i have used the below code for it.` public static void main(String[] args) throws Exception { // TODO…
Akshea
  • 257
  • 1
  • 3
  • 10
2
votes
0 answers

Listing shared calendars using EWS-Java-API

I am using EWS-Java-API for exchange server and java communication. I need way to access a shared calendar. E.g. user1@xyz.com is one user who is creating a calender and shared to user2@xyz.com. Now I want to retrieve list of shared calendar using…
1
2
3
10 11