English 中文(简体)
One Request, Multiple Responses
  • 时间:2025-02-05

BPEL - One Request Multiple Responses


Previous Page Next Page  

In this chapter, we will learn about the concept of One Request and Multiple Responses.

    The Cpent BPEL Process sends a single request to the Service BPEL Process and receives multiple responses in return.

    For example, the request can be to order a product onpne, and the first response can be the estimated depvery time, the second response a payment confirmation, and the third response a notification that the product has shipped. In this example, the number and types of responses are expected.

    The Cpent BPEL Process needs an invoke activity to send the request, and a sequence activity with three receive activities.

    The Service BPEL Process needs a receive activity to accept the message from the cpent, and a sequence attribute with three invoke activities, one for each reply.

    As with all partner activities, the Web Services Description Language (WSDL) file defines the interaction.

One Request and Multiple Responses Advertisements