I am using the jakarta-slide-webdavlib-2.1.jar and commons-httpclient.jar -
2.0 final
following is the code snippet..
WebdavResource ObjWebResource = new WebdavResource("
http://<IP>:80/exchange/test/Contacts", new
UsernamePasswordCredentials("test","test"));
WebdavResource[] objContactList = ObjWebResource.listWebdavResources();
The above method throws the following exception....
org.apache.commons.httpclient.URIException: escaped absolute path not valid
at org.apache.commons.httpclient.URI.setRawPath(URI.java:2781)
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:1973)
at org.apache.commons.httpclient.HttpURL.<init>(HttpURL.java:78)
at org.apache.webdav.lib.WebdavResource.setWebdavProperties(
WebdavResource.java:1078)
at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java
:968)
at org.apache.webdav.lib.WebdavResource.setBasicProperties(
WebdavResource.java:912)
at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java
:1894)
at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java
:1917)
at org.apache.webdav.lib.WebdavResource.getChildResources(
WebdavResource.java:2082)
at org.apache.webdav.lib.WebdavResource.listWebdavResources(
WebdavResource.java:2099)
at com.xxx.util.messenger.impl.msexchange.MsExchangeContact.getContactData(
MsExchangeContact.java:207)
at com.xxx.util.messenger.MessengerBuilderFactory.main(
MessengerBuilderFactory.java:179)
Someone pls help pls pls..
Thanks in advance..