Database Reference
In-Depth Information
Interaction design patterns
The request will have one or more input parameters, and the response may have one
or more output parameters. Deciding the interaction between the client and the ser-
vice provider is one of the most important decisions during the design of BPEL ser-
vices. Each service has its own WSDL definition and endpoint. The Partner Link is
used for interaction between services.
Primarily, BPEL services are all about the request and response. The following design
patterns are used for implementing BPEL services:
• Synchronous request and response
• Asynchronous request and response
• One request and multiple responses
• One request, a mandatory response, and an optional response
• One-way message
Some of the other possible interaction design patterns that are not commonly used
are listed here:
• Multiple requests, multiple responses
• Multiple requests, first response (ignore remaining responses)
• One request and one or two responses
• Asynchronous interaction with a timeout using the onMessage activity
• Asynchronousinteraction withanotification timeroptionusingtheonAlarm
activity
Synchronous request and response
The client sends the request and receives an immediate response. The response can
be either of the following:
• Response based on the request (The response will contain data)
• Faults/Exceptions (The responses do not have any data)
As shown in the figure, the request can originate from either of the following:
• Client BPEL Services
Search WWH ::




Custom Search