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.  Insert IData object

    Posted Wed August 16, 2006 12:34 PM

    Hi

    I wonder of it is possible to insert an IData object in a specific place provided by e.g. a IDataCursor´s position?

    The only function I have found is an append function, which adds an IData object at the bottom of an IData node.

    Regards
    Mikael


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Insert IData object

    Posted Wed August 16, 2006 01:07 PM

    I believe the insertAfter() method will do what you want. It is covered in the Javadocs for IDataCursor.

    Mark


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Insert IData object

    Posted Wed August 16, 2006 01:49 PM

    Hi again

    The insert after only inserts a new key/value pair, not an IData object.

    insertAfter(java.lang.String key, java.lang.Object value)


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Insert IData object

    Posted Wed August 16, 2006 01:52 PM

    Never mind - My brain is completly disfunctional today. :o :o
    It works fine using the insertAfter method!

    Thanks!


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB