explain try and catch block briefly

Answer Posted / prashant.tripathi981

To handle exception/error we use
try and catch block with the use
of sequence.

Remember Exit on
.
.
..........................................
. .
. .
SUCCESS FAILURE

Exit on Success:If there is error in
any subordinate service
it will be run.

Service1
Service2
Service3(here is error)
Service4
Exit on Success will run all 4 services.


Exit on Failure:It will exit on that service
which has any error.

Service1
Service2
Service3(here is error)
Service4
Exit on Failure will run only Service1 and Service2.

Syntax::
Sequence(Main Block)[EXIT ON: SUCCESS]
Sequence(Try Block)[EXIT ON: FAILURE]
Sequence(Catch Block)[EXIT ON: DONE]

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain header handlers in web services

2333


How many minutes have you spent in your lifetime reading documentation or actually (gasp) working with any webMethods product on a real project?

2209


How to convert document list to document? If document list contain documents and documents contain strings field. How to convert?

804


how to configure sap adapter 4.1

5536


Explain about pub-sub architecture?

811


When we use repeate, exit flow steps?

791


how to configure sap adapter6.1

2180


Explain about pub-sub architecture, where do you implemented this?

773


in filepooling process the document is not updated in target location means its in error directory how to achieve this problem?

2470


Explain what is indices in map flow step?

792


If I have a parent sequence with the property set- exit on success, and the try sequence block set to exit on failure, and the catch sequence block too set to failure, what is the result?

845


How we can catch exception error on run time mode using flow language in webmethods?

896


post me important interview question on webmethods

2496


Where do you implemented pub-sub architecture?

823


When Should You Use Flow Diagram View?

2343