IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Using proprietary keys for storing/retrieiving XML docs

  • 1.  Using proprietary keys for storing/retrieiving XML docs

    Posted Wed July 18, 2007 02:41 PM

    Hi there!

    We would like to store and retrieve XML/Non-XML documents using a generated unique key rather than the filename or external info, which are potentially unreliable. Is there a way to do this without storing the key in an indexed field in the document, that is, without manipulating the document?

    Note: we use an XML doc with information about the business context as a kind of catalog entry that points to the real document. Under a given context, there may be one or more documents.

    Are there performance issues that must be considered when choosing a mechanism for identifying documents?

    Best regards and thanks in advance,

    Michael


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Using proprietary keys for storing/retrieiving XML docs

    Posted Wed July 18, 2007 04:37 PM

    One possible solution would be to generate a guid and use this as part of the document name when you store it from your application. A document name can be assigned to xml documents as well as non-xml documents. This way it does not mean you have to add extra unique identification information to the documents being stored.

    Does this help?


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Using proprietary keys for storing/retrieiving XML docs

    Posted Tue July 24, 2007 12:57 PM

    Thank you for your reply :smiley: and apologies for my answering so late :(.

    We’ll certainly try that out. However, we had information from SAG that using docname was only reliable when docs were stored via HTTP PUT. We’re using Tamino 4.4.1. Docs come in via a web service, so we use the Java API to add them to the database.


    #webMethods
    #Tamino
    #API-Management