Are There Any API to Integrate Microsoft Exchange Server with Java Application for Task Synchronization

Are there any API to integrate Microsoft exchange server with Java application for Task synchronization?

Found this commercial API, offers quick solution to integrate with Exchange Server.
http://www.independentsoft.de/jwebservices/index.html

iphone: integration with exchange server

You have a couple of options

  • Exchange Web Service API
  • ActiveSync

Hope this helps.

Trying to read an account's inbox from MS exchange server using MAPI

You can use Exchange Web Services (which is pure HTTP) - see http://msdn.microsoft.com/en-us/library/office/dd877045(v=exchg.140).aspx

Is there any Java API to read Exchange Database or deleted mails in outlook mailbox?

Microsoft released a Java Api for exchange .

http://blogs.msdn.com/b/exchangedev/archive/2013/01/03/ews-java-api-1-2-get-started.aspx

From this API we can get the mails from any folder including deleted items,purges etc..,

Sample code :

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
ExchangeCredentials credentials = new WebCredentials(userName, password);
service.setCredentials(credentials);
service.autodiscoverUrl(autoDiscoverUrl);
service.setTraceEnabled(true);

ItemView view = new ItemView(20);
FindItemsResults<Item> findResults;
do {
findResults = service.findItems(WellKnownFolderName.RecoverableItemsDeletions, view);
for (Item item : findResults.getItems()) {
System.out.println(item);
}
view.setOffset(view.getOffset() + 20);
} while (findResults.isMoreAvailable());

WellKnownFolderName enum contains all folders.

Accessing Office 365 cloud from Java Application

Exchange Web Services, or EWS, is a SOAP-based protocol for talking to Exchange. It works in Office 365, and there is the ews-java-api library on GitHub. EWS can use basic authentication or OAuth, but to use OAuth you have to register your app in Azure AD (more on this below).

The Outlook REST APIs are REST-based and require OAuth. We recommend that you use these APIs if possible, but EWS will still work. There isn't a Java library for these APIs currently, but REST is a pretty standard protocol, so any generic Java REST library should work for invoking the API.

Registering an app is free, though currently it can be a little daunting. You need to have an Office 365 tenant and access to the Azure Management Portal. In order to get access to the portal, you do have to sign up for an Azure subscription. You can sign up for a "pay as you go" subscription, and access to your Office 365 Active Directory is free, so you never actually pay for anything. Here's a guide: https://github.com/jasonjoh/office365-azure-guides/blob/master/RegisterAnAppInAzure.md

We're working on enabling use of a personal Microsoft Account to register REST API apps which should make things much easier.



Related Topics



Leave a reply



Submit