> I'm trying to get up an running on LNI, but can't seem to get the syntax
> for "PUT" just right (I keep getting either 400 or 500 http errors).
> Is there anybody out there who can send me a syntax sample along with a
> sample package?
> I'm working with the LNISmokeTest class.

The smoke test has a method doPut() which ought to be a viable example.
Is that what you're using?
It takes the Handle of a collection which you have write access too.
The Handle should be a string like "123456789/241"; the sample code
uses the Lookup operation to get its LNI resource URI.

Check that the "packager" value names a PackgeIngester plugin configured
in dspace.cfg.  It may help to crank up the log level to "DEBUG" and
look at the server logs.

    -- Larry


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to