locked
Consume a Exchange Web Service(EWS) RRS feed

  • Question

  • Hi Guys,

    Is there any way to consume the exhange web service or exhange web  API in BizTalk 2013 R2?

    --

    Thanks,

    Prajakt


    Prajakt.

    Wednesday, December 20, 2017 1:17 PM

Answers

All replies

  • you can use SOAP/WCF-Webhttp/WCF-Wshttp adapter based on your requirement and consume it like any other service on the receive/send ports

    https://social.technet.microsoft.com/wiki/contents/articles/18935.biztalk-server-2013-consuming-a-restful-endpoint-using-wcf-webhttp.aspx

    https://docs.microsoft.com/en-us/biztalk/core/how-to-consume-web-services-in-a-messaging-only-scenario

    https://msdn.microsoft.com/en-us/library/aa566107.aspx

    If its soap : use soap adapter

    But FYI : In case you just have to consume emails from a  mailbox, u can use pop3 adapter on ports .

    Wednesday, December 20, 2017 2:55 PM
  • Hi,

    You can consume the web service endpoint for EWS web service using Consume WCF service . This will generate you service level schema (xsd) . The process will remain same how to call other web services or web api .

    For operation details look at the Microsoft documentation below 

    https://msdn.microsoft.com/en-us/library/office/dd877045(v=exchg.140).aspx


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply

    Wednesday, December 20, 2017 2:56 PM
  • HI,

    It should be consumed in same way as any other web <g class="gr_ gr_9 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="9" id="9">api</g> in BizTalk 2013 R2, i.e. using the web-<g class="gr_ gr_10 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="10" id="10">http</g> adapter. Are you facing any errors in this?

    For <g class="gr_ gr_11 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="11" id="11">Referece</g>: BizTalk Server 2013: Consuming a RESTFul Endpoint using WCF-WebHttp 


    Mandar Dharmadhikari

    Wednesday, December 20, 2017 2:57 PM
    Moderator
  • Hello,

    You can make use of EWS Managed API and call it via C# helper code in your orchestration. The below links will show you how to use the Exchange Web Services (EWS) Managed API to perform specific tasks with mailbox data on an on-premises Exchange server, Exchange Online, or Exchange Online as part of Office 365. 

    https://msdn.microsoft.com/en-us/library/office/dn567668(v=exchg.150).aspx

    https://code.msdn.microsoft.com/office/Exchange-2013-101-Code-3c38582c

    https://www.emailarchitect.net/eagetmail/kb/csharp.aspx?cat=2


    Rachit Sikroria (Microsoft Azure MVP)

    Friday, December 22, 2017 10:23 PM
    Moderator