Mandar Auti created JCR-3400:
--------------------------------

             Summary: SharePoint 2007 returns "NULL" for "SupportedLock" 
Propertry while connecting through java webdav client.
                 Key: JCR-3400
                 URL: https://issues.apache.org/jira/browse/JCR-3400
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-api
    Affects Versions: 2.4
         Environment: win 2003 server R2/IIS 6.0/Sharepoint server 2007
            Reporter: Mandar Auti


Hi,
 
 We are using Sharepoint server 2007. We are connecting this using java webdave 
client API (i.e. JackRabbit 2.4). We have used basic authentication. Our 
requirement is to get a lock on files under sharepoint folder. before executing 
LocKMethod() we are fetching properties by using PROPFIND method.
 
 We have writen following code snippet  for th same :
 
  String mpath = fixPathForProperEncoding(destinationUri);
          DavPropertyNameSet nameSet = new DavPropertyNameSet();
          nameSet.add(DavPropertyName.RESOURCETYPE);
          HttpClient client  = getHTTpClient(mpath);
          DavMethod httpMethod = new PropFindMethod(mpath, 
DavConstants.PROPFIND_ALL_PROP, DavConstants.DEPTH_0);
          int status = client.executeMethod(httpMethod);
 
 We are getting staus as "207". but we are getting SUPPORTED_LOCK as "null". 
 
 My Questions :
 
 1. what is the significance foe returning "NULL" for property "SUPPORTED_LOCK".
 
 
 
 In sharepoint 2007 we have option for setting document library , in which ther 
is suboption called "allowed check out before editing file"
 
 If we set this as true , our LockMethod() returnd "Forbidden" repsonse and 
sharepoint erorr says "File is not checked out"
 
 If we set this options as false, out LockMethod returns "Success" but it 
returns "NULL" for token.
 
 
 
 Kndly provide your opnion and guidence on this.
 
 Regards,
 
 Mandar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to