webMethods

webMethods

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.  modifing TSD

    Posted Wed May 14, 2003 03:49 PM

    Is it possible to modify a schema inserted inside tamino via a java programs?
    If yes, which methods can i use?

    BRGS
    @nto


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: modifing TSD

    Posted Wed May 14, 2003 08:13 PM

    Hello @nto,

    there is an “Accessor” in the Tamino API for Java for this: TSchemaDefinition3Accessor

    (com.softwareag.tamino.db.api.accessor.TSchemaDefinition3Accessor)</pre><BR>One of these Accessors can be created from a TConnection object using this method:<BR><pre class="ip-ubbcode-code-pre">   newSchemaDefinition3Accessor(java.lang.Object xmlObjectModel)


    The Accessor has a “define” method which takes a Tamino Schema Definition stored in a TXMLObject instance.
    The documentation for this method says:


    The same restrictions exist with this mechanism as for the Tamino Schema Editor (for example), so not every modification will be possible.

    I hope that helps,
    Trevor.


    #webMethods
    #Tamino
    #API-Management