Monday, October 7, 2019

SOA Interview Questions and Answers(Fault handling)

1.Standard faults in BPEL?

Ans: Binding faults
        Selection failure
        Remote faults
        Invalid reply
        join failure

2.How to get fault trace in catch all block?

Ans: By using get fault As String () function.

3.Can we have custom faults in Bpel ?

Ans: yes, we can create custom faults in Bpel,those faults are usually called Business faults and we usually handle it by using specific catch block.


4. Can we re-throw fault from catch block?

Ans: Yes, we can re-throw fault in catch block using re-throw activity.

5. where we keep fault-policies.xml or fault.binding.xml files ?

Ans:We can Keep these files either local to project or in MDS  and in both the cases we have to specify the path in "composite.xml file "

Fault management form-work: Two xml files.

a) fault -policies.xml
b)fault -binding.xml

-Scope level we are applying catch and catching block.
catch all-Can handle any kind of exception.
Catch-Supports particular exception.



No comments:

Post a Comment