I can't find it, are u sure ?
-----Message d'origine-----
De�: Paul Hussein [mailto:[EMAIL PROTECTED]
Envoy�: lundi 9 mai 2005 11:45
��: Slide Users Mailing List
Objet�: Re: bind example ?
There is example code in the slide client
Laurent Michenaud wrote:
>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 ?
>
>
>
>
---------------------------------------------------------------------
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]