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
  • 1.  Need help on try/ catch

    Posted Wed September 06, 2006 06:50 AM

    Hi Gurus,

    I am new to webMethods ,I heard about we can use branch , exit etc to creat a try/catch block , but I don’t know the details , can anyone kindly give an example ?

    Thanks,

    Jason


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


  • 2.  RE: Need help on try/ catch

    Posted Wed September 06, 2006 09:01 AM

    Please refer to <webMethods_installation>/Developer/doc/DeveloperUsersGuide.pdf.

    WmSamples package may also be useful.

    Regards,
    Djibril.


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


  • 3.  RE: Need help on try/ catch

    Posted Wed September 06, 2006 03:17 PM

    You can use the sequence below for try/catch block:

    SEQUENCE (Exit on Success)
    —SEQUENCE (Exit on Failure)
    ------Processing code here
    —SEQUENCE (Exit on Done)
    ------Code to handle errors here (ie. getLastError)


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


  • 4.  RE: Need help on try/ catch

    Posted Wed September 06, 2006 05:10 PM


  • 5.  RE: Need help on try/ catch

    Posted Wed September 06, 2006 05:36 PM