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.  delete/insert

    Posted Thu November 14, 2002 08:19 PM







    fdfsdf@cccc.it
    pfdotti@fdfd.it
    2
    3








    I’m trying to cancel the tupleID 1 with the following query

    query=/AccessList/instance[@accesslistID=2] //tupleID=“3”

    then i invoke accessor.delete(query)

    but it doesn’t work…can anyone help me?
    In what way can i insert a new element watcher?
    Thx
    @nto


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


  • 2.  RE: delete/insert

    Posted Fri November 15, 2002 09:42 AM

    What you are trying to do is delete a node from a document. Currently Tamino only supports deletion of complete xml documents unless you use the NodeLevelUpdate feature. See the NodeLevelUpdate FAQ here for more details.

    What exactly do you mean by “insert a new element watcher”?


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


  • 3.  RE: delete/insert

    Posted Fri November 15, 2002 09:54 AM

    To get documents from Tamino, use the query() method and use the iteration to get to the individual documents returned.

    To delete element or insert a new element you simply use DOM methods on the individual document obtained via the iterator and use the update() method to update the entire individual document back to Tamino.

    For documentation on DOM1 (which the TaminoClient API uses) download the DOM SDK from here. If you use the TaminoAPI4J (which I would recommend to you) then you can have a look at the DOM2 documentation here.

    hope this helps,


    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


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