These are chat archives for OfficeDev/ews-java-api

Oct 2015
Oct 18 2015 19:44
I am trying to use EWS API with NTLM Authentication that is built into HTTP Client 4.4.1 and it is failing with 401 Unauthorized error.
My call sequence is as follows:
        String username = "mydomain\\username";
        String password = "mypassword";
        String exchangeServer = "exchangeserver";
        String domain = "mydomain";
        boolean performAutodiscovery = false;

        ExchangeCredentials credentials = new WebCredentials(username, password, domain);
        try {
            service.setUrl(new URI("https://" + exchangeServer + "/EWS/Exchange.asmx"));
        } catch(Exception e) {

Oct 18 2015 19:51
Using the external ExRCA with the NTLM style name and credentials works fine.
This message was deleted