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.


#TechXchangePresenter
 View Only
  • 1.  Inserting xml to database

    Posted Tue November 09, 2010 10:59 AM

    Hi All

    can anyone help me out to insert xml to database and the vice versa by using flow services…

    thanks in advance


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 2.  RE: Inserting xml to database

    Posted Tue November 09, 2010 12:12 PM

    Use jdbc adapter insert service for insertion of xml, what is size of xml? You can store it as BLOB object in DB.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Inserting xml to database

    Posted Tue November 09, 2010 01:40 PM

    hi sir

    thanks for ur reply…

    in which format shall i insert xml to database using adapter service…

    as document or in xml itself?

    my xml sizes few kb’s sir…

    thanks in advance


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 4.  RE: Inserting xml to database

    Posted Tue November 09, 2010 02:13 PM

    Once you convert the xml into string you can insert that string into the database table which should be having your xml field as varchar.Please make sure of what would be the futhure size of the xml.If its gonna be variable size and too big then i would go with Shahid’s suggestion

    thanks
    Anil


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Inserting xml to database

    Posted Tue November 09, 2010 07:00 PM

    Hello,
    And before storing to DB, make sure that you create the fields similar to the XML doc…
    And directly map to adapter service…


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods