...
The current maintenance branch can be found here:
If your just looking for a copy of the client there is a SNAPSHOT version located here
...
The class path must include the `dspace-lni-client.jar` file, and
the following additional libraries.
They are available as open source from the links below. Acquire the appropriate jar files and append their paths into a CLASSPATH value, e.g. `/java/lib/activation.jar:/java/lib/mail.jar:....`
<table border="1">
Panel |
---|
Wiki Markup | <tr>
<td>\* Library \<tr> <td>* Library *</td>
<td>\* version \ *</td>
</tr>
<tr>
<td>`activation.jar `</td>
<td>[Sun bean activation framework 1.0.2|http://java.sun.com/products/javabeans/glasgow/jaf.html]</td>
</tr>
<tr>
<td>`axis.jar `</td>
<td>[Apache Axis 1.3 |http://www.apache.org/dyn/closer.cgi/ws/axis/1_3 /]</td>
</tr>
<tr>
<td>`axis-ant.jar `</td>
<td>Apache Axis 1.3</td>
</tr>
<tr>
<td>`jaxrpc.jar `</td>
<td>Apache Axis 1.3</td>
</tr>
<tr>
<td>`saaj.jar `</td>
<td>Apache Axis 1.3</td>
</tr>
<tr>
<td>`wsdl4j-1.5.1.jar `</td>
<td>Apache Axis 1.3</td>
</tr>
<tr>
<td>`commons-codec-1.3.jar `</td>
<td>[Apache Jakarta Commons Codec 1.3 |http://jakarta.apache.org/commons/codec/]
([Downloads page for these 4 Jakarta Commons sub-projects|http://jakarta.apache.org/site/downloads/downloads_commons.html] (Downloads page for these 4 Jakarta Commons sub-projects)</td>
</tr>
<tr>
<td>`commons-discovery-0.2.jar `</td>
<td>[Apache Jakarta Commons Discovery 0.2 |http://jakarta.apache.org/commons/discovery/]</td>
</tr>
<tr>
<td>`commons-logging.jar `</td>
<td>[Apache Jakarta Commons Logging 1.0.3 |http://jakarta.apache.org/commons/logging/]
(Appears \ [ v.1.0.4\|http://apache.oregonstate.edu/jakarta/commons/logging/binaries/commons-logging-1.0.4.tar.gz\] and [v.1.0.2|http://archive.apache.org/dist/jakarta/commons/logging/old/] are available, but not v.1.0.2 are available, but not 1.0.3 (?) Try 1.0.4 (wreilly))</td>
</tr>
<tr>
<td>`commons-cli-1.0.jar `</td>
<td>[Apache Jakarta Commons CLI 1.0|http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi]</td>
</tr>
<tr>
<td>`jdom.jar `</td>
<td>[JDOM 1.0 (jdom.org) |http://www.jdom.org/]</td>
</tr>
<tr>
<td>`log4j.jar `</td>
<td>[Apache log4j 1.2.8 |http://logging.apache.org/log4j/docs/download.html]
([Best for now to get no-longer-latest version 1.2.8|http://archive.apache.org/dist/logging/log4j/1.2.8/])</td>
<td>Apache Jakarta Commons CLI 1.0</td> </tr> <tr> <td>`jdom.jar `</td> <td>JDOM 1.0 (jdom.org) </td> </tr> <tr> <td>`log4j.jar `</td> <td>Apache log4j 1.2.8 (Best for now to get no-longer-latest version 1.2.8)</td> </tr>
|
</table>
For example, this does a PROPFIND on the DSpace object whose handle is `123456789/4`:
...
You can also test the LNI with a standard WebDAV client, such as
Cadaver. Start it at the
DAV base URL, and explore from there. For example, start cadaver
on a Unix system:
Panel |
---|
`% *cadaver http://mydspace.mit.edu/dspace-lni/dav\* (http://mydspace.mit.edu/dspace-lni/dav*) Username: florey@mit.edu Password: xyzzy dav:/dspace-lni/dav/> ls Listing collection /dspace-lni/dav/: succeeded. Coll: dso_123456789$1 0 Dec 31 1969 Coll: dso_123456789$83 0 Dec 31 1969 dav:/dspace-lni/dav/>` |
...