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

Delete XML doc recently recorded after few minutes

  • 1.  Delete XML doc recently recorded after few minutes

    Posted Mon December 23, 2002 04:46 PM

    Hello,

    when I try in Javascript to insert a new doc in my DataBase, the doc is automatically deleted from the base after 3-4 minutes, I don’t understand why, because I don’t make any action during this time

    The code I use:

    var newItem = new ActiveXObject (“Msxml2.DOMDocument.4.0”);
    newItem.loadXML(“”+ID+“1”+Capacity+“”+NBar+“0”+Brand+“” );

    QueryObj.startSession();
    QueryObj.insert(newItem);

    Thanx for any helps
    Regards
    Dave

    Dave Vuistiner
    HEVs, Sion / Switzerland


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


  • 2.  RE: Delete XML doc recently recorded after few minutes

    Posted Tue December 24, 2002 08:05 AM

    I suppose the document desappears after a time equal to the “maximum transaction duration” database property (300 seconds by default).

    I think you aren’t finishing your transaction.
    What about “commit” method ? :wink:
    What about “endSession” method ? :wink:
    Do you have them in your code ?

    Merry Christmas and happy New Year. :slight_smile:


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