How to debug flow service

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

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,

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.

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

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.