Hi,
My question/issue is related to jWebDav library to connect to Microsoft Exchange Server from my Java web Application.
thing is that I'm using jwebDav to connect to Microsoft Exchange Server from my java web Application in internal network. when my application go to access users mailbox it though this excepion
com.independentsoft.webdav.exchange.WebdavException: 404 Not Found
at com.independentsoft.webdav.exchange.WebdavClient.a(SourceFile:341)
at com.independentsoft.webdav.exchange.WebdavClient.getMailbox(SourceFile:245)
at com.independentsoft.webdav.exchange.WebdavClient.getMailbox(SourceFile:233)
at MainClass.main(MainClass.java:23)
Caused by: com.independentsoft.webdav.exchange.WebdavException: 404 Not Found
at com.independentsoft.webdav.exchange.WebdavClient.a(SourceFile:324)
... 3 more
my test program for this issue is following,
WebdavClient client = null;
String mailBoxUrl = "https://[server IP]/ews/[username]@[domain].com";
String userName = "[username]@[domain].com";
String password = "[password]";
client = new WebdavClient(mailBoxUrl, userName, password);
try {
client.setMailboxUrl(mailBoxUrl);
client.performFormsBasedAuthentication(mailBoxUrl);
client.getMailbox();
} catch (Exception e) {
e.printStackTrace();
}
Exchange Server version is 2007
what i found is that is 404 error is some thing like that required page not found and as Im facing this issue at client site so I also spent some time with IT team to figure otu if thr is some access issue etc. but they also not come to conclusion and they are studying the issue about how to resolve this access issue, well I dont know much about Networking so cant tell you much that what they were working for this but issue still exists.
so finally here what I'm asking for is that any suggestion your side that what should i look for and to check either IT Network side or at application level that help resolving this issue.
I've also check the telnet to the server and is fine.
telnet [server IP] 443
one more thing that this same application was working fine in lab environment in my office with Exchange Server 2003 R2.