Hi, 
I got the slide 1.0.9 and tested the namespace support, it seems doesn't
work. The following is the testing code
It does insert a row into Property table, however the namespace value is
still "DAV:". 
I noticed that the older version the client library works and correctly set
the namespace to "DC:".

 

    public static void main(String args[]) {
        WebdavClient client = new WebdavClient();
        client.setDebug(100);
        Credentials credentials = new Credentials("root","root");
        client.setCredentials(credentials);
        try{
          client.startSession("localhost", 8080);
          PropPatchMethod propMethod = new
PropPatchMethod("/slide/files/test/abstract.html");
          propMethod.addPropertyToSet("test", "new Value","DC", "DC");
          client.executeMethod(propMethod);
          int status = propMethod.getStatusCode();
          System.out.println("Status"+ status);
        }
        catch(Exception ex){
          ex.printStackTrace();
        }

    }

Reply via email to