Dear Vincent, It is a little while since I was involved with this project, but looking at the error message I think it is something that is returned from the repository. If so, then I am cc'ing this to the development list so that the people that worked on the DSpace sword plug-in might be able to offer some help.
The error message states that the type of package is 'text', which might be a little strange if you are submitting a ZIP file. Have you been able to submit any of the test packages available from the swordapp.org website? This might help you to see which types of packages have been tested. http://swordapp.org/sword-v1/sword-v1-clients-and-demonstrator-repositories/ Regards, Neil On 7 Jul 2011, at 14:07, Vincent wrote: > Hi Neil > > I am currently working on something about SWORD, and I find the sword > demonstration client written by you. It is a very good one, well organized. > But somehow I can not use it to deposit to the Dspace I installed on my pc. > The error message shows that "code:415, Unsupported Media Type"(see the > attachment). This indicates something wrong with the server accepting the > file, but I can deposit it to my Dspace if I use the browser to login and > deposit. > > I don't know whether you have met across this kind of problem before. Could > you offer some help? > > Besides, what kind of file is OK for deposit, you know, the METS package in a > .zip file or normal zip file will do? I doubt this maybe one of the reasons, > although I tried one METS package without success. > > > Thanks~ > > Vincent > BNU > > > > -- > Best wishes~ > <1.bmp> -- Neil Taylor 01970 621528 - n...@aber.ac.uk - http://users.aber.ac.uk/nst/ Department of Computer Science / Adran Gyfrifiadureg Aberystwyth University / Prifysgol Aberystwyth Aberystwyth, Ceredigion, SY23 3DB ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech