How to handle exceptions in webMethods?

Answer#1
To handle exceptions in webMethods, we use three sequence
Step as below -
First sequence (exit on success)
- Second sequence (exit on failure)
- Third sequence (exit on done)
Second and third sequences are child steps of first one.
All the business login will come inside second sequence and What we have to do when exception is there, this logic will Come in third sequence.

Answer#2

Experience:

As we have pre-defined Services in our Company like handle exception it will store the error in Database in XML format. If getlast error throws exception then handle exception will store into Database.

after getlasterror service we have to put handle error service

No comments:

Post a Comment