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
  • 1.  How to debug flow service

    Posted Wed August 25, 2004 08:06 PM

    Chris,

    I think the best thing you can do is to add a savePipelineToFile at the beginning of the to be invoked flow service. After that you can use restorePipelineFromFile to debug the service and find out why the PO is being rejected.

    -Jordy


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


  • 2.  RE: How to debug flow service

    Posted Wed August 25, 2004 08:22 PM

    Chris,

    Which tutorial are you talking about?
    Are you testing services in the WmSamples or WmTNSamples package?

    For general debugging use the savepipeline/restorepipeline services in the beginning flow steps and step thru the flow.you will catch the problem.

    Thanks,


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


  • 3.  RE: How to debug flow service

    Posted Wed August 25, 2004 08:24 PM

    Also one more point,When ever TM ProcessingRule routes the PORequest to a flowservice once you do the restorepipeline you should see the “bizdoc” record/document in the pipeline.make sure it does showing.


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


  • 4.  RE: How to debug flow service

    Posted Wed December 21, 2005 07:09 PM

    hi all,
    i got a error while executing flow service from browser…
    that service is add two ints…it takes two inputs gives result as add of that two numberes
    Browser:[url]http://localhost:5555/invoke/a1.add/add1[/url]
    This is error:
    $errorDump com.wm.app.b2b.server.UnknownServiceException: a1.add:add1 at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:68) at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:113) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:512)
    $errorInfo $errorDump com.wm.app.b2b.server.UnknownServiceException: a1.add:add1 at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:68) at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:113) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:512)
    $error a1.add:add1
    $localizedError a1.add:add1
    $errorType com.wm.app.b2b.server.UnknownServiceException
    $user Default
    $time 2004-12-21 13:30:53 EST
    $details
    $errorMsgId

    $error a1.add:add1
    $errorType com.wm.app.b2b.server.UnknownServiceException

    thanks in advance
    vasanth


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


  • 5.  RE: How to debug flow service

    Posted Wed December 21, 2005 10:09 PM

    In Developer, is the service named “add1”? Is it in a folder hierarchy that is a1 –> add? The easiest thing to do to get the right URL is in Developer, open the service you want and then select Test | Run in Browser from the menu. You’ll see the appropriate URL when the browser opens.


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