Slide 2.1 does support transactions.  Here's an example using the slide command 
line client against a 2.1 server.  Debug is enabled so you can see the http 
exchange.
Hope this helps.




[LOCALHOST:/slide-prod-tm/files/] C:\ $ begin
Starting transaction
>>>>>>>  to  server  ---------------------------------------------------
LOCK /slide-prod-tm/files/ HTTP/1.1
Authorization: Basic cm9vdDpyb290
Content-Type: text/xml; charset=utf-8
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: localhost:8081
Cookie: $Version=0; JSESSIONID=3C3A151D76163617401A43550A93DBE6; 
$Path=/slide-prod-tm
Content-Length: 239
Depth: 2147483647

<DAV:lockinfo xmlns:DAV="DAV:">
   <DAV:lockscope>
      <DAV:exclusive>
      </DAV:exclusive>
   </DAV:lockscope>
   <DAV:locktype>
      <DAV:transaction>
      </DAV:transaction>
   </DAV:locktype>
   <DAV:owner>
         root
   </DAV:owner>
</DAV:lockinfo>
------------------------------------------------------------------------

<<<<<<< from server  ---------------------------------------------------
HTTP/1.1 200 OK
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 10:00:00 EST
Lock-Token: <opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5>
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Wed, 10 May 2006 22:38:51 GMT
Server: Apache-Coyote/1.1

<D:prop xmlns:D="DAV:">
   <D:lockdiscovery>
      <D:activelock>
         <D:locktype>
            <D:transaction>
               <D:groupoperation>
               </D:groupoperation>
            </D:transaction>
         </D:locktype>
         <D:lockscope>
            <D:local>
            </D:local>
         </D:lockscope>
         <D:depth>
               0
         </D:depth>
         <D:owner>
            <![CDATA[
               root
            ]]>
         </D:owner>
         <D:timeout>
               Second-120
         </D:timeout>
         <D:locktoken>
            <D:href>
                  opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5
            </D:href>
         </D:locktoken>
      </D:activelock>
   </D:lockdiscovery>
</D:prop>
------------------------------------------------------------------------
succeeded.
Handle: 'opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5'
[LOCALHOST:/slide-prod-tm/files/] C:\ $ put autoexec.bat

>>>>>>>  to  server  ---------------------------------------------------
PROPFIND /slide-prod-tm/files/autoexec.bat HTTP/1.1
Transaction: <opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5>
Authorization: Basic cm9vdDpyb290
Content-Type: text/xml; charset=utf-8
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: localhost:8081
Cookie: $Version=0; JSESSIONID=3C3A151D76163617401A43550A93DBE6; 
$Path=/slide-prod-tm
Content-Length: 207
Depth: 0

<D:propfind xmlns:D="DAV:">
   <D:prop>
      <D:displayname>
      </D:displayname>
      <D:getcontentlength>
      </D:getcontentlength>
      <D:getcontenttype>
      </D:getcontenttype>
      <D:resourcetype>
      </D:resourcetype>
      <D:getlastmodified>
      </D:getlastmodified>
      <D:lockdiscovery>
      </D:lockdiscovery>
   </D:prop>
</D:propfind>
------------------------------------------------------------------------
Uploading  'C:\AUTOEXEC.BAT' to '/slide-prod-tm/files/autoexec.bat' succeeded.
[LOCALHOST:/slide-prod-tm/files/] C:\ $ commit
Committing transaction: 'opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5'
>>>>>>>  to  server  ---------------------------------------------------
UNLOCK /slide-prod-tm/files/autoexec.bat HTTP/1.1
If: (<opaquelocktoken:2d87b0107a7ff84c2f48881908f9f0b5>)
Authorization: Basic cm9vdDpyb290
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: localhost:8081
Cookie: $Version=0; JSESSIONID=3C3A151D76163617401A43550A93DBE6; 
$Path=/slide-prod-tm
Content-Length: 112

<D:transactioninfo xmlns:D="DAV:">
   <D:transactionstatus>
      <D:commit>
      </D:commit>
   </D:transactionstatus>
</D:transactioninfo>
------------------------------------------------------------------------
succeeded.
[LOCALHOST:/slide-prod-tm/files/] C:\ $ [LOCALHOST:/slide-prod-tm/files/] C:\ $




> -----Original Message-----
> From: greenstar [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, 11 May 2006 6:45
> To:   [email protected]
> Subject:      RE: clientlib transaction support.
> 
> 
> OK, thanks, that seems to be the issue.  Are there any good open source
> webdav servers which support transactions?  I tried slide server 2.1 which
> seems to indicate on it's homepage that it supports transactions.  However,
> I received an "HTTP 501 : Unsupported" when attempting to open a
> transaction.
> --
> View this message in context: 
> http://www.nabble.com/clientlib-transaction-support.-t1567137.html#a4328356
> Sent from the Jakarta Slide - User forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-----------------------------------------------------------------------------------
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp". 

Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55  or at suncorp.com.au.

The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.

If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to