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
Expand all | Collapse all

Tamino Client Define Method

  • 1.  Tamino Client Define Method

    Posted Thu December 06, 2001 07:03 AM

    Hi Guys,

    Does anybody know how to use taminoclient.define() method? I think this is more acceptable way of deleting more than a million records inside a schema rather than using taminoclient.delete() method. It will save me a lot of cpu resources. I already tried taminoclient.undefine() method and its already working properly. Thanks you guys.


    #webMethods
    #API-Management
    #webMethods-Tamino-XML-Server-APIs


  • 2.  RE: Tamino Client Define Method

    Posted Thu December 06, 2001 10:41 AM

    The define method takes an parameter which
    is an element (the document element) in a DOM instance.
    This DOM instance you must create by loading a Tamino schema into it. It is your responsibilty to make sure that the Tamino Schema is valid.

    Thats all

    There is another define() signature that takes collection and doctype parameters and I assume that overrides the values in the DOM instance. This probably won’t work for Tamino 3.1 TSD3 schemas.


    define
    public final TaminoResult define(org.w3c.dom.Element element)
    throws TaminoError
    Define collection/doctype with default collection and doctype.
    Parameters:
    element - the collection/doctype definition.
    Returns:
    the Tamino Result Set containing the DOM Object
    Throws:
    TaminoError -


    #API-Management
    #webMethods
    #webMethods-Tamino-XML-Server-APIs