Is it supported to use the contentDigest element when ingesting via 
API-M SOAP?  I've sometimes got a checksum for incoming files and I'd 
like to fail/recover if the Fedora checksum doesn't match.  I thought by 
added the checksum to the FOXML I'm sending Fedora that it would verify 
and only ingest if they match. 

When I set the contentDigest element with DIGEST specified, I get this:

fedora.server.errors.ObjectIntegrityException: FOXML IO stream was bad : 
Checksum Mismatch: ExceptionReadingStream

I've verified that my MD5 digest is the same string Fedora generates for 
the file if I ingest it through the admin client.  Is there a way to 
verify that Fedora checksum is the same as mine without finishing the 
ingest operation, thereby creating an object with potentially corrupt 
data, and comparing afterward?

many thanks,
Greg


___
Greg Jansen
Carolina Digital Repository
University of North Carolina at Chapel Hill


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to