RE: Problems with Slide Client and SAP Portal WebDAV
"Jeff Blank" <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
So I've been attempting to see what's different about the SAP Portal
WebDAV response vs the Slide Server response. Here's a few observations:
1) Notice that the "xmlns:D=DAV:" is excluded from <D:response> in SAP
Portal's WebDAV. Could this make the slide client upset?
SAP Portal
==========
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>
/irj/go/km/docs/documents/
</D:href>
<D:propstat>
<D:prop>
<D:displayname>
</D:displayname>
</D:prop>
<D:status>
HTTP/1.1 404 Not Found
</D:status>
</D:propstat>
</D:response>
.....
----------
Slide
=====
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:D="DAV:">
<D:href>
/slide/
</D:href>
<D:propstat>
<D:prop>
<D:displayname>
</D:displayname>
</D:prop>
<D:status>
HTTP/1.1 200 OK
</D:status>
</D:propstat>
</D:response>
.....
2) For collections, D:displayname isn't well populated in SAP Portal.
I've re-created this specific scenario in my local Slide server and all
seems ok.
3) HTTP Header is slightly different wrt Multi-Status indicator. My gut
says this difference is not important. I doubt the HTTP header is that
key to parsing the Response XML and population of higher level classes.
Slide
=====
<<<<<<< from server ---------------------------------------------------
HTTP/1.1 207 Multi-Status
SAP Portal
==========
<<<<<<< from server ---------------------------------------------------
HTTP/1.1 207 Unknown
I've been attempting to trace the PROPFIND code in the slide client
without any definitive identification of problem code area.
Unfortunately, I don't have access to the SAP Portal WebDAV server from
my Eclipse environment. Otherwise, troubleshooting this issue might be
somewhat easier.
Assuming the debug XML info from Slide client is accurate, then I've yet
to find any other differences between SAP Portal and Slide WebDAV
servers.
-Jeff Blank
-----Original Message-----
From: Jeff Blank
Sent: Wednesday, November 29, 2006 8:11 AM
To: Slide Users Mailing List
Subject: RE: Problems with Slide Client and SAP Portal WebDAV
I attached 3 text files that contain debug output of slide cmdline
client.
I'm running JDK 1.4.2_13 on Win2k. I explicitly set JAVA_HOME and PATH
(only contained %JAVA_HOME%\bin) just to minimize outside influenes.
Slide1a.txt and Slide1b.txt are the outputs of ls and ls -l against top
level collection.
Slide2.txt shows the 403/security weirdness against a child resource of
root. I checked again with Windows Explorer and it shows the 3 XML
files and "Commercial Laundry" and doesn't show any of 403 responses.
----------
To answer a related response, I'm using 2.1 binaries off Jakarta
download site. I will likely pursue building library myself, as well.
Eclipse and I seem to be getting along. ;-)
-Jeff
-----Original Message-----
From: Julian Reschke [mailto:[email protected]]
Sent: Wednesday, November 29, 2006 1:48 AM
To: Slide Users Mailing List
Subject: Re: Problems with Slide Client and SAP Portal WebDAV
Jeff Blank schrieb:
> I'm having the most peculiar behavior when using the Slide cmdline
> client against the SAP Portal WebDAV service. It connects ok.
> However, running ls commands doesn't show the contents correctly -
> leaves out folders. When I turn on debug, I can see the "lost"
> collections/resources in the XML output. I can connect using the
same
> credentials using Win2k Network Place connection and navigate folders
> just fine.
>
> ls and ls -l also return different results. I tend to see less
> resources with ls -l.
>
> Since I can browse the WebDAV service via Windows Explorer, I know
> what folders should be there. I can cd to specific paths that I know
> via Windows Explorer. However, running forms of ls continue to return
> incorrect results.
>
> Only a few of the folders in question return HTTP 403, which seems to
> mean that I don't have permission to those folders - which is
expected.
> Sometimes the 403 folders are displayed in results of ls -l, but not
ls.
> This seems very weird and wrong.
>
> It's been a few months and lots of other projects, but I'm certain
> that I've successfully used Slide to connect and browse a SAP Portal
WebDAV
> service. The alleged success was a different SAP Portal WebDAV
> service.
The WebDAV stack in SAP's Portal KM returns 403 in multistatus if the
resource exists, but you don't have permission to get the properties.
*Most* WebDAV clients simply do not display these resources.
So I would propose you collect a few examples (XML response and what the
Slide client makes out of it), and then we could investigate what's
going on (and decide whether it's by design, whether the client could be
enhanced, or whether it may be a bug in the server).
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]