Is Exhange Web Service 2.2 Managed API Supported on Windows Phone 8.1 App RRS feed

  • Question

  • I am developing Windows Phone 8.1 App.

    Wanted to check if Exhange Web Service 2.2 Managed API is supported on Windows Phone platform.

    Monday, March 2, 2015 10:07 AM

All replies

  • You should be able to call the Exchange Web Services directly but the Managed API package is currently not available for the Windows Runtime platforms. This is the latest discussion I could find on the topic: https://github.com/OfficeDev/ews-managed-api/issues/5
    Monday, March 2, 2015 12:48 PM
  • Thanks,

    Can you point me to specific url, where I can learn about calling Exchange Web Services directly?

    Appreciate your help.

    Monday, March 2, 2015 12:59 PM
  • I don't have a sample specifically for EWS but EWS is a regular SOAP implementation, see: https://msdn.microsoft.com/en-us/library/office/dd877045%28v=exchg.140%29.aspx?f=255&MSPPError=-2147217396

    The basic way of creating a web service reference in a WP8 App is outlined here: http://stackoverflow.com/questions/20507054/sending-a-soap-request-with-windows-phone-8

    Monday, March 2, 2015 4:06 PM
  • I believe the managed API requires the full .Net Framework and isn't compatible with the .Net Framework for Windows Phone or Windows Runtime.

    You should be able to use the Exchange Web Services REST API. For help please post in an Exchange Web Services forum.  I'll move this to a better forum for you.

    Monday, March 2, 2015 8:32 PM
  • I was looking at  this problem few months back. I think that EWS only supports SOAP but not Rest. (On premise)

    And the problem is - You can't add refrence in Windows phone 8.1.  it only supports Rest. Hopfully there is a solution for this.  But soap works with Windows Phone 8.1 Silverlight.  

    EWS Rest is only for Exchange O365 but not on premise.

    Idea... You could create a mobile service in Azure that uses the EWS dll.  - If there is no good solution :)

    • Edited by TheBingi Monday, March 2, 2015 10:42 PM
    Monday, March 2, 2015 10:41 PM
  • Thanks for the support.

    I will try the suggested options. In case I am stuck I will post again :). and I will be updating on this thread.

    Azure option is a good workaround, but users will be sceptical to use the app as they are potentially passing the credentials to a third part web service. That could pose other security issues.

    Does anyone heard of the Exchange Active Sync API. I believe most of the mail apps (Windows, iOS) use that. But that seems an over kill for the functionality I want and also an expensive solution as there will be license cost involved.

    Tuesday, March 3, 2015 8:08 AM