Hello,
I'm not sure to understand but it seems that your resource
has a wrong URI:
WebdavResource wdr = new WebdavResource(urlCalendar);
The urlCalendar seems like "/slide/files" I
believe, there isn't
http://servername.com/.
"escaped absolute path not valid": maybe there
is some problems with the
character "\" in your urlCalendar because
that's an escape character. If you
need to use this character you can try to put \\ and not
just \.
You can also try to use another client and look at the log
of Slide, then
try again with your client and compare the logs.
I hope it helps...
Good luck!
----- Original Message -----
From: "Willem Voogd" <w.f.voogd planet.nl>
To: "Slide Users Mailing List"
<slide-user jakarta.apache.org>
Sent: Thursday, June 22, 2006 5:43 PM
Subject: Error while getting resources from Exchange via
slide client
> Hi,
>
> I'm building an exchange client, for appointments.
Everything works,
> except when i try to get appointments that have been
entered via the
> exchange webclient. It seems the web client has some
strange policy in
> naming the appointments, so that slide doesnt know what
to do with it.
>
> My error stack:
> 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.j
ava:78)
> at
>
org.apache.webdav.lib.WebdavResource.setWebdavProperties(Web
davResource.java:1078)
> at
>
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavReso
urce.java:968)
> at
>
org.apache.webdav.lib.WebdavResource.setBasicProperties(Webd
avResource.java:912)
> at
>
org.apache.webdav.lib.WebdavResource.setProperties(WebdavRes
ource.java:1894)
> at
>
org.apache.webdav.lib.WebdavResource.setProperties(WebdavRes
ource.java:1917)
> at
>
org.apache.webdav.lib.WebdavResource.getChildResources(Webda
vResource.java:2082)
> at
>
nl.itris.interop.ms.MSExchangeProxy.getAppointments(MSExchan
geProxy.java:498)
>
> where the MSExchangeProxy is my client class. the
statement at line 498 is
> a WebDavResource.getChildResources() call:
>
> //Open the calendar map on the exchange server
> WebdavResource wdr = new
WebdavResource(urlCalendar);
> //Check whether a resource with same name already
exists
> WebdavResources wdrs = wdr.getChildResources();
>
> The resource that is givinbg the problems has this
filename:
> .EML
>
> When i don't use the exchange client i get 'normal'
names like:
> Nog een.EML
> which work perfectly...
>
> Any pointers in how to solve this, or ideas on where to
look will be
> greatly appreciated.
>
> Thanks in advance,
>
> Willem Voogd
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-user-help jakarta.apache.org
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|