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.

 View Only
Expand all | Collapse all

Empty pipeline after java service exception.

  • 1.  Empty pipeline after java service exception.

    Posted Thu January 31, 2013 12:14 PM

    Hello,

    I’m facing an issue when calling a java service within flow and the java service throws a new ServiceException, the entire pipeline vanishes after the call. Within the flow i was able to fetch the error thrown using pub.flow.getlasterror in my catch block however the pipleline within getlasterror object is still empty. Is there a way to retrieve the pipeline or preserve the pipeline when such an exception happens?

    Thank you.


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


  • 2.  RE: Empty pipeline after java service exception.

    Posted Thu January 31, 2013 02:47 PM

    Some of the ways to get the error,

    1. Use a catch statement in the Java service and print out the error stack to a pipeline variable.
    2. Use Designer and generate some break points in the java service and generate code to debug this service and step in to it.
    3. Check the error logs.

    Cheers,
    Akshith


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