Hi, I'm wondering if there's an existing body of code or more advanced documentation that shows off the add/purgeRelationship and getRelationships calls in API-M. I'm a little confused about what acceptable values for each of the fields are, the transactionality of these calls, when information is written even when an exception is thrown, etc.
In particular, it seems I can create a relationship to an object that doesn't exist yet, but I can't purge it. And I'm having difficultly creating an entry with a literal value, which seems to be related to not knowing when I need to specify a PID as an object identifier or a info:fedora/ URI. Lastly, I'm not clear on how a non-Fedora system predicate should be expressed... In the XML, it's kind of clear, I declare a namespace and use it, but I can only offer a String to the SOAP call. How should I express it here? Via a URI like a namespace? Is the best practice for an organization creating their own relationship types to use HTTP URIs with the organization's own Internet domain, or something else? Thanks for any advice anyone might be able to provide, Michael Della Bitta NYPL ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
