BPEL Process Service Component as the Client
When the BPEL process service component is on the client side of this transaction, it needs the following:
-
An invoke activity to send the request
-
A pick activity with two branches: one onMessage for the in-stock response and instructions on what to do if an in-stock message is received
-
A second onMessage for the out-of-stock response and instructions on what to do if an out-of-stock message is received
As with all partner activities, the WSDL file defines the interaction.
For more information about interactions using one request and one of two possible responses, see Selecting Between Continuing or Waiting on a Process with a Pick Activity.