nerdexam
Oracle

1Z0-478 · Question #20

You have modeled a composite that has two BPEL processes: X and Y. The WSDL for Y defines a single portType with a one-way operation. The WSDL for X defines a single portType with a request-response…

The correct answer is B. A Fault policy defined for X for handling the remoteFault is triggered and handles the fault. Main Process Calls the Subprocess Asynchronously IfonewayDeliveryPolicy=async.persist (The BPELCallee process runs in a separate thread/transaction.) then If The Subprocess Throws The BPELCaller does not get a response because the message is saved in the delivery service. The…

BPEL Process Manager

Question

You have modeled a composite that has two BPEL processes: X and Y. The WSDL for Y defines a single portType with a one-way operation. The WSDL for X defines a single portType with a request-response operation. The component property bpel.config.trancation is set to requiresNew for Process X, and the component property bpel.config.oneWayDeliveryPolicy is set to async.persist for process Y. You have wired these components so that Y invokes X. What is the result when X throws a remoteFault at runtime, assuming that X has no catch blocks defined within it?

Options

  • AThe transaction of X is rolled back, and process Y gets a remoteFault that can be caught and
  • BA Fault policy defined for X for handling the remoteFault is triggered and handles the fault.
  • CThe transaction of X is committed, and process gets a Fault back that can be caught and
  • DThe transactions of X and Y are both rolled back even If you have fault handlers configured for

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    78% (25)
  • C
    13% (4)
  • D
    6% (2)

Explanation

  • Main Process Calls the Subprocess Asynchronously IfonewayDeliveryPolicy=async.persist (The BPELCallee process runs in a separate thread/transaction.) then If The Subprocess Throws The BPELCaller does not get a response because the message is saved in the delivery service. The BPELCallee transaction is rolled back if the fault is not handled

Topics

#BPEL transactions#remoteFault#fault policies#oneWayDeliveryPolicy

Community Discussion

No community discussion yet for this question.

Full 1Z0-478 Practice