what should you do to catch Web service related exceptions that are thrown?

You work in an international company which is named TXTWIN. And you’re in charge of the company network and use Microsoft BizTalk Server 2006 R2.
You are developing a solution. There’s an orchestration with a Scope shape. A Web service is being called within this Scope shape by you. You set the Transaction Type property of this Scope shape to None. So when this Web service is called, what should you do to catch Web service related exceptions that are thrown?

You work in an international company which is named TXTWIN. And you’re in charge of the company network and use Microsoft BizTalk Server 2006 R2.
You are developing a solution. There’s an orchestration with a Scope shape. A Web service is being called within this Scope shape by you. You set the Transaction Type property of this Scope shape to None. So when this Web service is called, what should you do to catch Web service related exceptions that are thrown?

A.
A reference in the BizTalk project should be added to System.Web.Services.
A new exception handler on the Scope shape should be added and the new exception handler has an Exception Object Type property of SoapException.

B.
You should add a new exception handler on the Scope shape and the new exception handler has an Exception Object Type property of XLANGsException.
Before you perform this, the Scope shapes Transaction Type property to Long Running should be set to Long Running.

C.
You should add a new exception handler On the Scope shape and the new exception handler has an Exception Object Type property of System.Web.WebServices.
Before you perform this, the Scope shapes Transaction Type property should be set to Atomic.

D.
A new exception handler should be added on the Scope shape and the new exception handler has an Exception Object Type property of SystemException.
A second exception handler should be added on the Scope shape and the second Exception Object has an Exception Object Type property of General Exception.

Explanation:
BURGOS: mnemo: “Transaction Type” = “A reference … A new exception”



Leave a Reply 0

Your email address will not be published. Required fields are marked *