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.  Hot To get service name

    Posted Wed November 06, 2002 05:36 PM

    when a service bombs out due to the Exit Flow ‘signal failure’ - how do we get the service name?

    tia
    T


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


  • 2.  RE: Hot To get service name

    Posted Wed November 06, 2002 05:49 PM

    Assuming that you are using sequences and you are catching errors, use pub.flow:getLastError

    In the errors record, there are several variables. One is the actual webMethods service that threw the error. In the catch sequence, I create and set a variable that contains my flow name, since it will not necessarily show up. Also, remember that if you call a child flow that does not contain the sequence setup for try/catch, it will throw to the calling parent error trap.

    Hope this helps.

    Ray


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


  • 3.  RE: Hot To get service name

    Posted Thu November 07, 2002 11:05 AM

    Hi,

    Refer to error handling sample given in wMSamples.
    It gives generic routine in which it gets the error dump and the service name in it.
    I guess ray has expained the same.

    Regards,
    Prabhu


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


  • 4.  RE: Hot To get service name

    Posted Thu November 07, 2002 11:42 AM

    it’s great- thanks to you both for your guidance


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