Java Reference
In-Depth Information
<catch faultName="SP:RejectPO" faultVariable="smsg:POReject">
<!-- handle fault -->
</catch>
</invoke>
In this case, the
<invoke>
consists of an outbound request and an inbound reply. The
pattern
attribute is used to specify which correlation should be used in which case. Here
the
PurchaseOrder
correlation will apply to the outbound request that initiates it, making the
purchaser the leader or initiator of that correlation. The purchaser is also a follower of the
In-
voice
correlation, based on the properties of the
Invoice
instance used in the reply from the
seller.