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.  Catching Database errors in Adapter Services

    Posted 10/09/03 04:34 PM

    Hi,

    Is there anyway to capture the database related errors when we are trying to update the tables thru Adapter Service. e.g. Unique Constraint etc.
    If for any reason the SQL does not execute successfully the error I get is “Adapter Service could not execute”.

    Can somebody guide me how to get the exact dB error?

    Thanks,
    Pankaj


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


  • 2.  RE: Catching Database errors in Adapter Services

    Posted 10/09/03 04:46 PM

    If it is an IS service, I am pretty confident that if you put a try catch block it should just work fine.

    Try block of course will have you database query service. In you catch block put following services:

    getLast6Error: pub:flow:getLastError
    debugLog:pub:flow:debuglog

    These services should catch any error throw during the service…


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


  • 3.  RE: Catching Database errors in Adapter Services

    Posted 10/09/03 05:19 PM

    Ravi,

    I am aware of this step and have already tried but it does not return the database errors.

    Any other thought. :frowning:

    Thanks,
    Pankaj


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