Hi Rajshekhar,

> I have implemented SWORD with my DSpace 1.5.2.
> 
> When I use http://localhost:8080/sword/deposit/123456789/2 to deposit the 
> item in browser it show error 501.
> I have also tried to deposit the file using GUI based desktop application 
> downloaded from sourceforge.net for SWORD application.
> it give error as
> 2010-02-05 19:16:01,906 ERROR org.dspace.sword.SWORDMETSIngester @ caught 
> exception: 
> org.dspace.content.packager.PackageValidationException: No METS Manifest 
> found (filename=mets.xml).  Package is unacceptable.
> 
> What should I send in X-Packing?

X-Packaging (not X-Packing) should be set to 
http://purl.org/net/sword-types/METSDSpaceSI

If you have access to a unix command line, try:

curl --basic --user "[email protected]:your-password" -i --data-binary 
"@/path/to/example.zip" -H "Content-Type: application/zip" -H "X-Packaging: 
http://purl.org/net/sword-types/METSDSpaceSIP"; -vvv 
http://localhost:8080/sword/deposit/123456789/2

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to