Kartheek,
To add to Ram’s comments, you might also find it useful to use the save and restore pipeline functions (pub.flow:savePipeline, pub.flow:restorePipeline as well as savePipelineToFile and restorePipelineFromFile). You can find details of these in the Built-In Services guide (Developer docs directory).
When debugging a service which is called by other services, you will probably want to work on the failing service in isolation, in which case you may find the following technique helpful:
- Add the following lines at the top of the service you want to debug:
pub.flow:savePipelineToFile
Exit signalling success
- Run the top-level service (the one that calls your service)
- Replace the two lines you just added to your service, with a single call to pub.flow:restorePipelineFromFile
You can now debug your service multiple times, with the input values set for you, without having to step through all of the preceding services.
BTW - this is covered in the webMethods 6 Integration Workshop 4-day training course which is highly recommended for anyone who will be developing Flow services.
Hope this helps.
Cheers,
Steve Ovens
#Integration-Server-and-ESB#webMethods#webMethods-General