none
Microsoft Exchange Web Service - The response received from the service didn't contain valid XML. RRS feed

  • Question

  • Hello
    I have a program С# which is reading inbox email from outlook 2010
    the following errors periodically occurs:
    Error: The response received from the service didn't contain valid XML.
    Error read outlook: The response received from the service didn't contain valid XML.
    Error exchage: The response received from the service didn't contain valid XML. url-https://outlook.domain.com/EWS/Exchange.asmx
    Url server Exchange https://outlook.domain.com/EWS/Exchange.asmx

    I'm using library Microsoft Exchange Web Service
    Mailbox and login are in different domains
    An error occurs when I can not open the page https://mail.mydomain.com/ews/exchange.asmx

    my algorithm:
    1. search for mailbox address in connection string url-https://outlook.omega.sbrf.ru/EWS/Exchange.asmx
    2. domain search to mailbox address
    3. reading letters in a mailbox

    How to fix it?
    Thursday, November 9, 2017 1:09 PM

All replies

  • You not really providing enough information eg you need to show the code your using, I would also suggest you enable tracing https://msdn.microsoft.com/en-us/library/office/dd633676%28v=exchg.80%29.aspx eg that error may mean that something else in the Network path (eg proxy server,firewall etc) is returning a response rather then the Exchange server so you getting back a HTML error page rather then a SOAP response which will impact the code.

    Cheers
    Glen

    Friday, November 10, 2017 6:00 AM