I answer my own question. The only thing I did wrong was when not specifying
which exchange resource to use, e.g. my account name.
When using:
HttpsURL hrl = new HttpsURL("https://myserver.org/exchange/My.Account.Name");
instead of
HttpsURL hrl = new HttpsURL("https://myserver.org");
everything worked like a charm. Now I'm off to learn more about webdav and
exchange.
/Kax
>
> From: kax <[EMAIL PROTECTED]>
> Date: 2004/11/09 ti PM 07:24:31 GMT
> To: <[EMAIL PROTECTED]>
> �mne: webdav and exchange
>
> Hi,
>
> I'm new to webdav and slide. I'm trying to to use slide to build a simple
> integration with Microsoft Exchange. I have tried some but I can't get it
> right.
>
> This is the code I'm using:
>
> Protocol.registerProtocol("https", new Protocol("https", new
> EasySSLProtocolSocketFactory(), 443));
> HttpsURL hrl = new HttpsURL("https://myserver.org");
> NTCredentials ntc = new NTCredentials("user", "passwd", "abc", "mydomain");
> WebdavResource wr = new WebdavResource(hrl, ntc, WebdavResource.DEFAULT, 1);
>
> When calling wr.exists() it returns true so I think I'm connected too the
> root in some kind of way but there is no folders or resources below this
> "root" folder. When calling wr.getDisplayName() the "/" is returned but when
> calling wr.listWebdavResources() null is returned.
>
> I have tried to use "https://myserver.org/exchange" as url but then I just
> get an exception "org.apache.commons.httpclient.HttpException".
>
> Can someone point me in the right direction how to use slide together with
> Exchange?
>
> Thanks in advance
>
> /Kax
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]