This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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!