Has anybody a bind example ?

 

I've tried to use it. In the tomcat console, I can see a successful
creation message

but I can't see it anywhere.

 

HttpURL oHttpURL = new HttpURL("http://"; + SLIDE_HOST + ":" + SLIDE_PORT
+ SLIDE_DOMAIN);

oHttpURL.setUserinfo(SLIDE_ADMIN, SLIDE_PASSWORD);

WebdavResource oWebdavResource = new WebdavResource(oHttpURL);

oWebdavResource.startTransaction(SLIDE_ADMIN, SLIDE_TIMEOUT);

try {

     r_bSuccess = oWebdavResource.bindMethod("/slide/files/test",

           "/slide/files/lien");

     oWebdavResource.commitTransaction();

} catch( Exception e ) {

      oWebdavResource.abortTransaction();

}

finally {

      oWebdavResource.close();

}

 

In the console, I can see :

http-8080-Processor21, 09-mai-2005 11:41:01, root, BIND, 201 "Created",
0 ms, /files

taille du doc : 112

 

 

Any idea ?

Reply via email to