Hi Pavel, Richard Jones wrote the DSpace implementation so will be able to give an authoritative answer, but you could try adding a workflow to the collection you are depositing into. You might then be able to DELETE a deposit that is awaiting approval in the workflow.
Thanks, Stuart On 29/12/2011, at 1:43 PM, Pavel Mika wrote: > Hello, > > I have run into problem while removing previously submited document package. > According to the swordv2 specification, there is special interface for > removal. > DELETE Edit-IRI HTTP/1.1 > Host: example.org > Authorization: Basic ZGFmZnk6c2VjZXJldA== > On-Behalf-Of: jbloggs > > I have assumed the Edit-ERI stands for container such as swordv2/edit/1 > so I have used following, fiddler request displays int he debug: > > DELETE http://localhost:8080/swordv2/edit/1 HTTP/1.1 > Authorization: Basic xxauthstrxx= > Host: localhost:8080 > > the response from the server is: > The remote server returned an error: (405) Method Not Allowed. > > checking the fiddler communication content, there is also XML response from > the dspace tomcat server with this message inside the xml formatted text: > ------------------ > <sword:treatment>Processing failed</sword:treatment><atom:summary > xmlns:atom="http://www.w3.org/2005/Atom">The item has already been archived, > and can no longer be modified</atom:summary><sword:verboseDescription> > ------------------ > > Now the problem is, that each new post to dspace is automaticaly archived, > Using for example xmlui, I am able to unarchive this item, or also > permanently remove from the collection. Also, even i do unarchive the target > item, using the xmlui interface, I am still getting the response 405 method > not allowed from the swordv2 interface when i try run the delete request > > Is there some problem with the removal? or there is another special sword > attribute overriding the archived status during item deletion? I was checking > config files of dspace and swordv2, but didnt find any config line for item > removal conditions. > > Any help would be appreciated > Pavel Mika > > > > > > > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > sword-app-tech mailing list > sword-app-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sword-app-tech Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech