webMethods

webMethods

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
Expand all | Collapse all

IS catch sequence not executed

  • 1.  IS catch sequence not executed

    Posted Tue November 26, 2002 11:48 AM

    Hello,

    I’m using reliable delivery in TN
    My flow is constructed with a try catch sequence

    When an exception occurs in my flow which is of type ServiceException
    or an exception is produced with an exit step with failure signal, everything goes OK

    When an other type of exception occurs (java.lang.NullPointer, com.sap.mw.jco.JCO$Exception, …)
    then TN complains about an invalid output and my error handling mechanism in the catch sequence
    is not executed. Of course, this behavior can not be reproduced in debug mode.

    What do I miss ?
    Thank you.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: IS catch sequence not executed

    Posted Tue November 26, 2002 12:03 PM

    I believe you are using try catch sequences correctly or might be you may have done some minor mistake in sequencing flow

    Any way this is the psuedo code

    This is how the sequence goes for error handling
    Start with

    Sequence—Success

    Sequence—Failure
    ----Here your actual flow services or java service invokes will be coded

    Sequence—Done

    —finally here you will call pub.flow:getLastError service and continue with what ever you want for debugging the flow with pub.flow:debuglog or serverlog to purge the errors to server or Error log directories.

    This is how the try catch handled in WM flow…

    Hope this helps…


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods