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?





    Wednesday, December 20, 2017 1:17 PM


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




    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 


    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
  • 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. 




    Rachit Sikroria (Microsoft Azure MVP)

    Friday, December 22, 2017 10:23 PM