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.

 View Only
  • 1.  Collection without validation

    Posted Fri April 29, 2005 08:34 PM

    Hi all,

    I need to create a collection into Tamino database where I can put XML documents, without validation, like ino:etc collection.

    What’s the easiest way to do that?

    May I have a code example?

    Thanks in advance!!


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Collection without validation

    Posted Sat April 30, 2005 08:31 PM

    Hi Raffy,

    Assuming you have Tamino 4.2.1:
    the easiest way is to use the Tamino X-Plorer, select the database,
    use File->New Collection, and select aschema usage of
    “Optional” or “Prohibited”

    Regards

    Harald


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Collection without validation

    Posted Mon May 02, 2005 09:09 AM

    Hi Raffy

    using Tamino Xplorer in Tamino 4.2 you can create a new collection with optional or even prohibited schema usage. “optional” is equivalent to behaviour of ino:etc.

    Regards
    Uli


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: Collection without validation

    Posted Thu July 14, 2005 06:25 PM

    How would you achieve the same results with v4141?


    #API-Management
    #webMethods
    #Tamino


  • 5.  RE: Collection without validation

    Posted Thu July 14, 2005 06:27 PM

    Hi Fred

    Tamino 4.1 does not yet support storage without validation for any other collection but ino:etc.

    Sorry
    Uli


    #Tamino
    #webMethods
    #API-Management


  • 6.  RE: Collection without validation

    Posted Thu July 14, 2005 07:21 PM

    Uli, thanks for the quick reply.

    I’ve read here [url]http://tamino.demozone.softwareag.com/demoXQuery/XQueryDemo/reference.jsp?show=user&page=updates[/url]
    that validation can be turned off by using the tsd:contentopen</tsd:content> tag used within a tsd:doctype declaration. I tried that and Tamino still rejected the partial document.

    The sample shown in the url above looked so simple. Are there special considerations when using this “open” declaration.

    Thanks in advance.


    #Tamino
    #webMethods
    #API-Management


  • 7.  RE: Collection without validation

    Posted Thu July 14, 2005 08:48 PM

    Hi Fred

    for open content still all element or attribute declarations found in the schema will be used for validation.

    Pls provide

    • your schema
    • your document
    • the error message you received

    for further clarification

    Cheers
    Uli


    #webMethods
    #API-Management
    #Tamino


  • 8.  RE: Collection without validation

    Posted Thu July 14, 2005 09:50 PM

    Uli, thank you for the clarification. I appreciate your offer to examine the schema and document, but now that you have me pointed in the right direction, I think I can handle it from here.

    best regards,
    Fred


    #webMethods
    #Tamino
    #API-Management