microsoft.exchange.webservices.data.core.exception.service.local.ServiceXmlDeserializationException: An element node 'soap:Envelope' of the type START_ELEMENT was expected, but node '{http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006}Autodiscover' of type START_ELEMENT was found.

Stack Overflow | Javadroider | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Connect to outlook 2013 through java API

    Stack Overflow | 8 months ago | Javadroider
    microsoft.exchange.webservices.data.core.exception.service.local.ServiceXmlDeserializationException: An element node 'soap:Envelope' of the type START_ELEMENT was expected, but node '{http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006}Autodiscover' of type START_ELEMENT was found.

    Root Cause Analysis

    1. microsoft.exchange.webservices.data.core.exception.service.local.ServiceXmlDeserializationException

      An element node 'soap:Envelope' of the type START_ELEMENT was expected, but node '{http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006}Autodiscover' of type START_ELEMENT was found.

      at microsoft.exchange.webservices.data.core.EwsXmlReader.internalReadElement()
    2. microsoft.exchange.webservices
      SimpleServiceRequestBase.internalExecute
      1. microsoft.exchange.webservices.data.core.EwsXmlReader.internalReadElement(EwsXmlReader.java:139)
      2. microsoft.exchange.webservices.data.core.EwsXmlReader.readStartElement(EwsXmlReader.java:614)
      3. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.readResponse(ServiceRequestBase.java:427)
      4. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.readResponse(ServiceRequestBase.java:401)
      5. microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:63)
      5 frames