Message Exchange Pattern

From Wikipedia, the free encyclopedia

A Message Exchange Pattern (MEP) describes the pattern of messages[1] required by a communications protocol to establish or use a communication channel. There are two major message exchange patterns — a request-response pattern, and a one-way pattern. For example, the TCP has a request-response pattern protocol, and the UDP has a one-way pattern.

The term has a similar and specific meaning within the SOAP protocol.[2] [3] SOAP MEP types include:

  1. In-Only: This is equivalent to one-way. A standard one-way messaging exchange where the consumer sends a message to the provider that provides only a status response.
  2. Robust In-Only: This pattern is for reliable one-way message exchanges. The consumer initiates with a message to which the provider responds with status. If the response is a status, the exchange is complete, but if the response is a fault, the consumer must respond with a status.
  3. In-Out: This is equivalent to request-response. A standard two-way message exchange where the consumer initiates with a message, the provider responds with a message or fault and the consumer responds with a status.
  4. In Optional-Out: A standard two-way message exchange where the provider's response is optional.
  5. Out-Only
  6. Robust Out-Only
  7. Out-In
  8. Out-Optional-In

[edit] See also

[edit] References

  1. ^ Message Exchange Pattern
  2. ^ http://www.w3.org/TR/soap12-part1/#soapmep SOAP MEPs in SOAP W3C Recommendation v1.2
  3. ^ Web Services Description Language (WSDL) Version 2.0: Additional MEPs