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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Implementing the plugins

    Posted 09/18/02 01:47 PM

    Hello,
    First of all I want to thank for this wonderful plugin concept.
    Through this concept I have been able to implement many big problems I used to have.
    Though I still have some problems using the plugins.
    I can add a plugin for an Element and change/check its value when its value is being set.
    I tried to add a plugin to do some work before a document is commited but didnt work :frowning:
    I thought it should be like this but didnt work :





    documentName
    docId
    currentDocId



    where Hasta is the name of my schema.


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Implementing the plugins

    Posted 09/18/02 02:57 PM

    For historical reasons, commit and commitAll are workspace plugins. Please have to look at the default plugins defined in src/com/softwareag/xtools/xapplication/jsp/standard-xapplication.xml.
    If you search for “commit” or “commitAll”, you’ll see how we implemented the default functionality.

    Michael

    Software AG Germany, Darmstadt


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Implementing the plugins

    Posted 09/18/02 04:16 PM

    Hello,
    I have successfully added the plugin for commiting document.
    Now I have another problem.
    I have a plugin like this :

    <action name=“remove”
    method=“hitit.Hitit.removeTani”>
    document
    npName
    variables


    in the hitit.Hitit.removeTani method I try to get the parent node of this Tani node like this :

    BusinessNode par = node.getParent();

    but this always return NULL

    do you know why this happens ?
    My schema is like in the attached document
    Hasta.TSD (12.2 KB)


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: Implementing the plugins

    Posted 09/18/02 06:23 PM

    I had a look at our getParent() method … it looks fagile() …

    Is is possible for you to operate on get JDOM tree instead of using BusinessNodes? JDOM’s getParent() method is probably more reliable.

    Michael

    Software AG Germany, Darmstadt


    #Tamino
    #webMethods
    #API-Management