Hi all,
did anyone succeed in locking and writing to DTR via WebDAV?
I can read from DTR via WebDAV but I cannot lock, write or upload files. In theses cases I get bad request and permission denied errors. The user is the same as the user I´m using in NWDS where I can use all the functions.
I´ve tried Windows IE Explorer 6.0, Microsoft Word 2003, Open Office 2.0, WebDAV Plugin for jEdit and DAVExplorer 0.91. None of the clients work properly.
Below you see the log from DAVExplorer because this is most readable.
Hope someone can help.
Regards
Helmut
========= Outbound Message =========
PROPFIND /dtr/ws/TEST/test.com__TEST_SC/dev/inactive/DCs/is.com/test/java/mymath/_comp/src/de/hts/test/MyMathBean.java HTTP/1.1
Host: server:50000
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: UCI DAV Explorer/0.91 RPT-HTTPClient/0.3-3E
Depth: 0
Translate: f
Cookie: saplb_*=(J2EE3505900)3505950; JSESSIONID=(J2EE3505900)ID3505950DB15010670931523142694End
Cookie2: $Version="1"
Authorization: Basic SFRV8wMQ==
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Content-type: text/xml
Content-length: 124
<?xml version="1.0"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:lockdiscovery/>
</A:prop>
</A:propfind>
========= Inbound Message =========
HTTP/1.1 207 Multi-Status
Connection: close
Server: SAP J2EE Engine/6.40
Content-Language: en
Cache-Control: no-cache
Content-Type: text/xml; charset="UTF-8"
Date: Mon, 10 Jul 2006 18:20:09 GMT
<?xml version="1.0" encoding="utf-8"?><DAV:multistatus xmlns:x="http://xml.sap.com/2002/12/dtr/xcm" xmlns:DAV="DAV:"><DAV:response><DAV:href>/dtr/ws/TEST/test.com__TEST_SC/dev/inactive/DCs/is.com/test/java/mymath/_comp/src/de/hts/test/MyMathBean.java</DAV:href><DAV:propstat><DAV:prop><DAV:lockdiscovery></DAV:lockdiscovery></DAV:prop><DAV:status>HTTP/1.1 200 OK</DAV:status></DAV:propstat></DAV:response></DAV:multistatus>
========= Outbound Message =========
LOCK /dtr/ws/TEST/test.com__TEST_SC/dev/inactive/DCs/is.com/test/java/mymath/_comp/src/de/hts/test/MyMathBean.java HTTP/1.1
Host: server:50000
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: UCI DAV Explorer/0.91 RPT-HTTPClient/0.3-3E
Timeout: Second-86400
Depth: infinity
Translate: f
Cookie: saplb_*=(J2EE3505900)3505950; JSESSIONID=(J2EE3505900)ID3505950DB15010670931523142694End
Cookie2: $Version="1"
Authorization: Basic SFV8wMQ==
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Content-type: text/xml
Content-length: 257
<?xml version="1.0"?>
<A:lockinfo xmlns:A="DAV:">
<A:locktype>
<A:write/>
</A:locktype>
<A:lockscope>
<A:exclusive/>
</A:lockscope>
<A:owner>
<A:href>DAV Explorer</A:href>
</A:owner>
</A:lockinfo>
========= Inbound Message =========
HTTP/1.1 400 Bad Request
Connection: close
Server: SAP J2EE Engine/6.40
Content-Language: en
Cache-Control: no-cache
Content-Length: 0
Date: Mon, 10 Jul 2006 18:20:12 GMT