Exchange Web-Services (EWS) Java Api : 401 Unauthorized
When I try to connect to the exchange server, i have an 401 error : microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Unauthorized I tested with https://ewseditor.codeplex.com/ (with same userId, userPw, domain and url) and it works perfectly. This is my actual code : public static void main( String[] args ) { try { CustomExchangeService service = new CustomExchangeService(version); ExchangeCredentials credentials = new WebCredentials(userId, userPw,domain); service.setUrl
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.