DSpace 7.6.1 and Deepgreen: SWORD v2 Deposit via METSMODS packaging?

26 views
Skip to first unread message

Matthias Letsch

unread,
Jun 19, 2024, 4:51:45 AM (10 days ago) Jun 19
to DSpace Technical Support
Hi there,

This question is primarily aimed at my colleagues from Germany who participate in DeepGreen (https://info.oa-deepgreen.de) and/or people who are familiar with the Swordv2 API...

We're part of DeepGreen and want to deposit the articles via the SWORD v2 interface. In DSpace, SWORD v2 is enabled and the deposit works in principle, e.g. via console commands.

I was told to use the method http://purl.org/net/sword/package/METSMODS in the DeepGreen Sword Client. Also, all other details are correct (SWORD username, password, collection). Still the deposit doesn't work. 

When trying to deposit an example via the console, an error message tells me that there is no ingester configured for METSMODS:
(#####=password)

curl -i --data-binary "@example.zip" -H "Content-Disposition:attachment; filename=example.zip" -H "Content-Type:application/zip" -H "Packaging:http://purl.org/net/sword/package/METSMODS" -u us...@hohpublica.de:##### -X POST https://hohpublica.uni-hohenheim.de/server/swordv2/collection/123456789/15867

Result:

HTTP/1.1 100 Continue

HTTP/1.1 415 415
Date: Wed, 19 Jun 2024 08:24:20 GMT
Server: Apache/2.4.38 (Debian)
Content-Language: en,de
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked

<?xml version="1.0" encoding="ISO-8859-1"?>
<sword:error href="http://purl.org/net/sword/error/ErrorContent" xmlns:sword="http://purl.org/net/sword/terms/"><atom:title xmlns:atom="http://www.w3.org/2005/Atom">ERROR</atom:title><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2024-06-19T10:24:20Z</atom:updated><atom:generator uri="http://www.dspace.org/ns/sword/2.0/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">us...@uni-hohenheim.de</atom:generator><sword:treatment>Processing failed</sword:treatment><atom:summary xmlns:atom="http://www.w3.org/2005/Atom">No ingester configured for this package type</atom:summary><sword:verboseDescription>org.swordapp.server.SwordError: No ingester configured for this package type
        at ...

It seems like there is no ingester for METSMODS in DSpace 7...

Is there anyone for whom the deposit from Deepgreen SWORD v2 to DSpace 7 already works? What do I have to configure so that the deposit works via the specified packaging?

Thank you and kind regards,
Matthias

Matthias Letsch

unread,
Jun 19, 2024, 5:08:40 AM (10 days ago) Jun 19
to DSpace Technical Support
Additional information: The deposit via console works just fine with METSDSpaceSIP, but this packaging type doesn't seem to work with the DeepGreen client...
Reply all
Reply to author
Forward
0 new messages