Friday 11, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Friday, 27 December 2013

Axis2 – Message exchange pattern


In this Tutorial we are going to see the quick overview of SOAP  message exchange patterns.
Message Exchange Pattern
All the SOAP messages carry the same structure, the ways in which they are used can be combined into a number of different “Message Exchange Patterns”(MEPs). The two major message exchange patterns are
  1. In-Out
  2. In-Only
In-Out : In this MEP, the client sends a SOAP message to the server, which process the message and sends a response back. This is probably the most commonly used MEP, and it is useful for task such as searching for information or submitting information in situation in where acknowledgement is important.
In-Only: In this MEP, the client sends a message to the server without expecting a response. You may use this MEP for activities such as pinging a service to wake it up, reporting information for which you do not need an acknowledgement and so on.
With in these two MEPs, there is several variables to consider:
  1. Blocking versus Non-Blocking
  2. Number of parameters
Blocking vs Non-Blocking :  When the client sends a message, the application may wait to receive a response before moving on, or it may simply send a message and specifying  callback action to be completed when the response is received.
Number of Parameters : Ultimately, a message sent from a client to server is intended to execute a particular action. That action may not require any parameters, or  it may require one or more parameters.These parameters must be encoded as part of the payload of the message.
taking all the options into consideration, you can create virtually any MEP. For example, you can create an Out-Only system by reversing roles for the In-Only MEP.Apache Axis2 also includes support for less prominent MEPs, such as Robust-In-Only.

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • JAX-WS wsgen tool In this tutorial we are going to see how to generate web service client using wsgen tool. The wsgen tool is used to generate required files from web service implementation class for web service deployment. The wsgen tool is … Read More
  • Axis2 – Lifecycle of Web Service message To understand Axis2 and what it does, you must have good idea of life cycle of Web services message.See the figure given below. This image collected from official web site of Apache Axis2 The sending application create… Read More
  • Axis2 – Message exchange patternIn this Tutorial we are going to see the quick overview of SOAP  message exchange patterns. Message Exchange PatternAll the SOAP messages carry the same structure, the ways in which they are used can be combined into a … Read More
  • JAX-WS Hello World Web serviceIn this tutorial we are going to see how to create web service end point and client. Default its document style SOAP binding. Follow the steps given below to create hello world SOAP web service. 1. Open Eclipse, Select Fil… Read More
  • Apache Axis2 - Introduction Axis2 is a third generation web service engine.It is more efficient, more modular and more XML-oriented. What is Axis2 The Apache Axis2 is a Java-based implementation of both the client and server side of the web service… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: Axis2 – Message exchange pattern Rating: 5 Reviewed By: eHowToNow