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.  Why pubdbexecSQL inerts bnullb values

    Posted 06/28/03 07:18 AM

    Hi All,

    I am trynig to insert in Content of an XML String using the execSQL , it is inserting null , that too it inserts only one.In fact i used all the stringToDocument and documentToRecord Steps and finally execSQL.

    Attached is the Screen Shot of my Flow Servcie , can anyone advice me , where am i making the mistake.

    regards
    ramesh


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


  • 2.  RE: Why pubdbexecSQL inerts bnullb values

    Posted 06/30/03 12:36 PM

    What is your database? Are you trying to insert the contents of an xml (multiple records) into a table?
    Please provide more info.
    Thanks


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


  • 3.  RE: Why pubdbexecSQL inerts bnullb values

    Posted 06/30/03 01:26 PM

    Hi james,

    I have posted XMLToDB package in this forum. You can downlaod the same and work on.

    Cheers,
    Thota


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


  • 4.  RE: Why pubdbexecSQL inerts bnullb values

    Posted 06/30/03 01:53 PM

    Hi Ramesh,

          After documentToRecord step take map.Set empty (don't Hardcode) field which you will get null value from Xml document. 
    

    Then call execSQL service.
    In execSql service write insert statement using nvl
    function in oracle.See my posting on july 27 th Flow and java
    Services —>Insert into Oracle.This helps.I converted to_number
    because my colume in database is number.2nd oneAfter Archieve through
    February3,2003.
    Hope this helps you.

    Thanks,
    SriniK


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