File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Exchange Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exchange Web Services" Watch "Exchange Web Services" New topic

Exchange Web Services

Patrick Noah

Joined: Aug 22, 2011
Posts: 28
Has anyone used this with java? I am trying to get it to work. I downloaded the EWS Managed API and the following jars:
commons-httpclient.jar, commons-codec-1.4.jar, and jcifs-1.3.15.jar. I added the jars to my library in netbeans 7.

I tried "import;" and get an error saying the package does not exist.
John Jai

Joined: May 31, 2011
Posts: 1776

From the naming "microsoft" I guess it won't be in either of the commons jar. I doubt the same with the other jcifs jar - see its API don't have anything with the microsoft package naming -

One more you can only import classes and not packages... so if you want all classes under data package then give
Patrick Noah

Joined: Aug 22, 2011
Posts: 28
Thank you. Do I need to add a jar or something? I already downloaded the EWS API for java. I added the src folder that has the microsoft... package to the library in netbeans but that didn't work.
markus gross

Joined: Oct 17, 2011
Posts: 1
JWebServices for Exchange supports NTLM authentication:

I agree. Here's the link:
subject: Exchange Web Services
It's not a secret anymore!