OK, I will answer my own question - the first part of it anyway... The correct value for checksumType is 'DISABLED' (or 'DEFAULT' in my particular case). The checksum is not null, but should be set to 'none'.
I would still love to learn the answer to the second part of my question... What do I take the md5 of once I produce the xml for the datastream? What specific element and what sort of format? Thanks, Bill Bill Tantzen University of Minnesota Libraries [EMAIL PROTECTED] 612-626-9949 (office) 612-325-1777 (cell) ________________________________________________________________ Penny for your thoughts now, my boy Bill. -- Bruce Springsteen > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Bill Tantzen > Sent: Friday, November 07, 2008 9:18 AM > To: [email protected] > Subject: [Fedora-commons-users] Checksum question > > Sorry if this is a duplication -- something tells me my > original did not get through for some reason. > > Anyhow, > I'm trying to call modifyDatastreamByValue via the php soap > client, and I'm a little confused by a couple of the > parameters. I've tried numerous combinations trying to make > the checksum work (or not work actually). My best guess was > checksumType='DISABLED' and checksum=null, however, this > throws an error: > ERROR: faultstring = > fedora.server.errors.ValidationException: Checksum > Mismatch: none > How do I need to set up my parameters if I choose to not have > a checksum? > > For that matter, I'm happy to compute a checksum, but how do > I compute it so that it matches the fedora value? Does the > xml start with <xmlContent>? Or with <datastream>? I assume > I need to checksum the xml with no pretty spaces, but what > about newlines? With or without? So far, I have not had > success in getting the checksums to match... > > Any words of advice? > > Thanks to all! > > Bill Tantzen > University of Minnesota Libraries > [EMAIL PROTECTED] > 612-626-9949 (office) 612-325-1777 (cell) > ________________________________________________________________ > Penny for your thoughts now, my boy Bill. -- Bruce Springsteen > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
