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.  How to skip a service when it execute failed

    Posted 11/17/05 02:31 AM

    Hi,every body

    I have a flow service. it contains of three services. When the second execute failed, the flow service will stop. the third never run, but I want the third run. how can I do?In webMethods, do there is mechanism like try…catch?

    Toby


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


  • 2.  RE: How to skip a service when it execute failed

    Posted 11/17/05 04:37 AM

    Hi Toby,

    Please refer sample services which have exception handling approaches. In fact there are 2 approaches.

    sample.errorHandling:approach1 & sample.errorHandling:approach2

    these are available in WmSample packages.

    HTH
    BS


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


  • 3.  RE: How to skip a service when it execute failed

    Posted 11/17/05 05:14 AM

    Sequence with “exit on done” might do the trick. But that ignores any errors thrown by the services… so use with caution.

    Nath


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


  • 4.  RE: How to skip a service when it execute failed

    Posted 11/18/05 11:18 PM

    Hello,

    Yemi Bedu


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


  • 5.  RE: How to skip a service when it execute failed

    Posted 11/19/05 04:30 AM

    You can try something like using an inner try/catch block as follows:

    service1
    sequence (exit on success)
    sequence (exit on failure)
    service2
    sequence (exit on done)
    service3


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