on execution of below statement i am getting exception, Can anybody from Aspose tema suggest what wrong i am doing here. That would be helpful.
// Create instance of EWSClient class by giving credentials IEWSClient client = EWSClient.GetEWSClient(“https:[//outlook.office365.com/ews/exchange.asmx](https://outlook.office365.com/ews/exchange.asmx)”, "firstname.lastname@example.org", “aabc@123”, “xyz”);
Here is the Exception details:
An exception of type ‘System.InvalidOperationException’ occurred in System.Web.Services.dll but was not handled in user code
Additional information: Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’.
Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’.
Thanks in advance