For our university repository we would like to use Sword for ingesting
scientific publication for all our researchers. But we also need a mechanism
for updating existing items.
It should be as simple as when a DSpace handle is supplied within the metadata
of the deposit package it should not create a new handle but it should use the
handle supplied within the metadata.
Is this functionality already available within Dspace Sword? If not it seems to
me just a minor change that would be helpful to many other users of Dspace
Sword.
Kind regards,
Peter van Wonderen
VU University
Amsterdam
Van: Wonderen, P.M.G. van
Verzonden: Friday, December 09, 2011 2:04 PM
Aan: 'sword-app-tech@lists.sourceforge.net'
Onderwerp: Fail to ingest to DSpace Sword
Can somebody explain me why I get a unsupported mediatype message when sending
the following statement to the DSpace demo website?:
curl -i --http1.0 --data-binary "@example.zip" -H "Content-Disposition:
filename=example.zip" -H "Content-Type: application/zip" -H "X-Packaging:
http://purl.org/net/sword/package/METSDSpaceSIP" --user
p.v.wonde...@ubvu.vu.nl:Nind1980<mailto:p.v.wonde...@ubvu.vu.nl:Nind1980>
http://demo.dspace.org/sword/deposit/10673/44693
I use the example.zip file in
http://sword-app.svn.sourceforge.net/viewvcsword-app\sss\trunk<http://sword-app.svn.sourceforge.net/viewvcsword-app/sss/trunk>.
The return message is:
HTTP/1.1 415 Unsupported Media Type
Server: Apache-Coyote/1.1
Content-Type: application/atom+xml;charset=UTF-8
Date: Fri, 09 Dec 2011 12:56:05 GMT
Connection: close
<sword:error xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl.org/net/sword/"
href="http://purl.org/net/sword/error/ErrorContent"><atom:summary>Unacceptable
packaging type in deposit request:
http://purl.org/net/sword/package/METSDSpaceSIP</atom:summary><atom:title>ERROR</atom:title><atom:updated>2011-12-09T12:56:05.882Z</atom:updated><sword:userAgent>curl/7.19.7<http://purl.org/net/sword/package/METSDSpaceSIP%3c/atom:summary%3e%3catom:title%3eERROR%3c/atom:title%3e%3catom:updated%3e2011-12-09T12:56:05.882Z%3c/atom:updated%3e%3csword:userAgent%3ecurl/7.19.7>
(x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3
libidn/1.15</sword:userAgent></sword:error>
Also when I install Dspace Sword locally on Ubuntu using Tomcat I get the same
error message.
Kind regards,
Peter van Wonderen
VU University
Amsterdam
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech