Hi, I am using fedora 3.1 REST API for our services  implementation. On testing 
the ingest operation though, I found that it is not working the same as the 
ingest from the SOAP API-M implementation. When I called the REST API ingest 
with the pid that is already existing in the repository, there was no error. It 
actually updated the object and returned a HttpStatus.SC_CREATED status. 
Whereas, In the API-M, there is an exception; The exception by way of an 
example is : "The PID 'demo:2' already exists in the registry; the object can't 
be re-created.". Is there not a duplicate PID check anymore in the REST ingest 
operation. If there is, how do I call the  REST ingest correctly? Are there any 
examples that I can refer to, other than the online documentation?

Thank you,
Smita Patel
Sr. Developer
Emory University

________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to