ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Sliding into WebDAV
Subject:   WebDAV & NTLM:Hi i am facing a problem to connect to MSSharePoint 2003 portal server
Date:   2006-09-22 00:19:19
From:   sureshvarma
I tried the following code to connect to Microsoft SharePoint 2003 PortalServer.


NTCredentials creds = new NTCredentials(userName, password, hostAdd, domain );
HostConfiguration hostConfig = new HostConfiguration();
hostConfig.setHost(hostAdd);
HttpURL host = new HttpURL("http://" + hostUrl);
host.setUserinfo(username,password);
WebdavResource res = new WebdavResource(host, (Credentials)creds, WebdavResource.DEFAULT, DepthSupport.DEPTH_1);



And I am getting HttpException like below..
org.apache.commons.httpclient.HttpException
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3467)
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3423)


etc..


It is very urgent for me,please help me.


Thanks in advance


Regards
Suresh Varma


1 to 1 of 1
  1. WebDAV & NTLM:Hi i am facing a problem to connect to MSSharePoint 2003 portal server
    2007-02-12 09:20:56  PabloMosquera [View]

1 to 1 of 1