Hola Guys,

I tried to create a new object in fedora using a POST to the following 
Endpoint:
http://localhost:8080/fedora/objects/new?format=info:fedora/fedora-system:ATOM-1.1&label=test-1

but when doing for example:
curl --user fedoraAdmin:fed -X POST 
http://localhost:8080/fedora/objects/new?format=info:fedora/fedora-system:ATOM-1.1&label=test-1

i get the following error message from fedora:
The message was "URI=null Line=5: cvc-elt.1: Cannot find the declaration 
of element 'foxml:digitalObject'.

Isn't it possible to create new ATOM1.1 objects this way? Do i have to 
create the ATOM XML for the objects first and include it as the request 
body?

Thanks!

Frank


-- 
Frank Asseg
e-Science
IT, Development & Applied Research
Phone +49 7247-808-515
Fax +49 7247 808-133
[email protected]


FIZ Karlsruhe – Leibniz Institute for Information Infrastructure
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen, Germany

www.fiz-karlsruhe.de


-------------------------------------------------------

Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische 
Information mbH. 
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 
101892. 
Geschäftsführerin: Sabine Brünger-Weilandt. 
Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to