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

Java Trigger SXS & insert into another Tamino DB

  • 1.  Java Trigger SXS & insert into another Tamino DB

    Posted Wed October 27, 2004 01:21 PM

    Hi,
    My problem regards to inserting some documents in one Tamino DB (let’s call it TDB_A) triggered by modyfication of some document on other Tamino DB (TDB_B).
    I’ve tried to assemble java triger sxs on TDB_B which is assign in proper doc scheama.
    My problem is to access external Tamino DB from java trigger method. In documentation on developing server extentions I found a set of methods (SxsXML: Xql, Define, Process, etc) which are usefull for modification of documents that are stored in the same Tamino DB.
    I did not found any information on possibility to define Tamino server that the opperations should be performed on.
    So, the question is: Is it possible to access external Tamino DB from Java Trigger SXS?
    Regards,
    Adam Szwajkajzer
    Software AG Poland


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Java Trigger SXS & insert into another Tamino DB

    Posted Wed October 27, 2004 01:47 PM

    Hi Adam,

    As you mentioned, it is not possible to access another Tamino database via XML callbacks. But what you can do is to use the Tamino API for Java.

    One advantage of the XML callbacks is that they are executed in the same transaction. But for another database you have another transaction, so you cannot use this advantage either. But you should implement a kind of transaction safeness, i.e. use an event function that in case of a rollback also undoes the changes in the other database.

    Kind regards,

    Julius Geppert
    Software AG
    Tamino QE


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: Java Trigger SXS & insert into another Tamino DB

    Posted Wed October 27, 2004 03:01 PM

    Thanks, I’ll go with Tamino API4J integration.
    Adam


    #API-Management
    #webMethods
    #Tamino