EWS Managed APIs in iOS

雨燕双飞 提交于 2019-12-25 01:55:12

问题


I'm developing an iOS app where it requires to use EWS managed APIs. I've searched the web thoroughly but I'm not getting any success.

It requires to get and set user's profile information, i.e. User's display name, company name, phone number etc.


回答1:


EWS Managed API is for Windows desktop apps only. You can use Exchange Web Service SOAP endpoint directly. Although it will be little tedious to handle xml based requests/responses but do-able. Take a look at this channel9 talk: Developing Mobile Apps with Microsoft Exchange Web Services

Edit: I don't have any personal experience of getting iOS app to work with EWS though, but I'm pretty confident that it should work. Also, I guess you will need Exchange Server to support Basic Auth which is the case with Exchange Online but not sure about On-Premise(and it's variants). If link provided above is not up anymore, my recommendation is to just follow Exchange Web Services documentation from Microsoft (not Exchange Managed API)




回答2:


Solution is to use Xamarin. With Xamarin we use Exchange Web Services .NET. It is commercial API, but works great.



来源:https://stackoverflow.com/questions/24506891/ews-managed-apis-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!