Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


explain try and catch block briefly



explain try and catch block briefly..

Answer / 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

More WebMethods Interview Questions

Explain header handlers in web services

0 Answers   CTS, Satyam,


Join types in Trigger?Explain?

2 Answers   Accenture,


can we build loop step with in the branch in such a way that the interface is look like that branch <transactiontype > sequence: Deposit loop <accno> xxxxxx sequence: current loop <accno> xxxxxxx sequence: savings loop <accno> can we achieve the above senario.

0 Answers  


I have a loop a, under which I have a child loop b, under which I have a branch with few services with a condition. If a condition is satisfied , then I needmy branch to exit from loop b, what should I do?

1 Answers  


steps of deploying a service in webmethods

1 Answers   Accenture,


What Is a Replication Service?

2 Answers  


What is the file (.jar) name that sharing between WebMethods integrated with JD Edwards???

1 Answers  


How we can catch exception error on run time mode using Flow language in WebMethods??? and how we can send error description as an output parameter????

1 Answers  


What is the main difference between webservies 6.5 and webservies 7.1.2

1 Answers   IBM,


How to create a link between variables?

2 Answers  


Difference between custom sql ,dynamic sql ? when we use custom sql,when we use dynamic sql?

4 Answers   Quinnox,


How many kinds of log files in WebMethods???? and where are they exist???

7 Answers   Satyam,


Categories