Using endpoints for message correlation
Original Publication Date: 2004-Oct-18
Included in the Prior Art Database: 2004-Oct-18
Correlation is a means for using message payload fields as context information. The context information is used by two communicating partners for identifying the individual business process instances that exchange the message. If the same message is exchanged between a partner and a set of partner, additional information is needed to identify the partner for an incoming message. It is proposed that each partner responds to a specific endpoint so that the response message can be attributed to the correct partner.
Using endpoints for message correlation Using endpoints for message correlationUsing endpoints for message correlation Using endpoints for message correlation
Correlation is a means for using message payload fields as context information (the definition of the correlation sets is done via appropriate WSDL definitions ). The context information is used by two communicating partners for identifying the individual business process instances (under the assumption that both partners have implemented the application using business processes ).
Let's use a simple interaction between partner A and partner B . Suppose partner A runs the business process instance A1. It sends a message to a Web Service of partner B. The message includes a field F which is used for correlation . The business process instance sets the correlation field F to F 1. When partner B responds, it returns the correlation field F with the originally set value of F 1. This allows partner A to associate the message with business process instance A 1.
If the same message is sent to a set of partners, for example to obtain a price, the original message can no longer be used with out modification as all partners will receive the same value for the correlation field F. Thus it is not possible for the business process A1 to associate the answers to the original requests.
One solution is to add another field for correlation, such as request identification, which is unique for each partner. The disadvantage o...