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.  Insert data from XML

    Posted 05/21/03 04:39 PM

    Hi,
    We have large xml documents coming thru to our IS. We need to extract data from these documents and insert it into a database table.
    We have two tables, a header and a line_level table. There are 100 line items in a single xml document and if we use the normal execSQL and insert, it takes a long time to loop thru and do 100 inserts.
    Could anyone suggest the best and fastest way to do this?
    Thanks


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


  • 2.  RE: Insert data from XML

    Posted 05/21/03 04:48 PM

    Create a record list for your items with the same column names as your database and in the same order and use the insert service mapping your record list to the $data input in the insert service and it will insert all the rows in one step.


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


  • 3.  RE: Insert data from XML

    Posted 05/22/03 01:57 PM


  • 4.  RE: Insert data from XML

    Posted 05/28/03 03:34 AM

    Hello everyone,
    Doing the same for the update service does not give me proper values when invoked with a dsp page.(i.e) I pass the xml docs as a hidden box to an dsp page which may contain empty values for some fields. I want it to update correctly (if empty values comes put null into tables). Please help me.

    With regards,
    IrudayarajP


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