Using WebCredential with EWS SOAP request RRS feed

  • Question

  • I'm building EWS requests using a Java client which sends the SOAP over HTTP. I simply inject relevant values into an XML template which represents the CreatItem operation in EWS

    My implementation is no longer working since migrating to Outlook 365 as the online version of EWS expects a Credential property to be set. Currently I just send an NTCredential in the HTTP header.

    Can someone share details of the Credential property and how It can be set in a SOAP request. I'm unsure if this property needs to appear in the SOAP body or in the HTTP header. All help would be greatly appreciated.

    Friday, September 22, 2017 10:28 AM