Introduction to the header mediator for handling SOAP headers and the in/out mediators for filtering requests and responses.
In this sample we wil run the client in dumb client mode (ie without addressing information) as follows.
The request is captured by the main sequence of Synapse and handed to the in mediator. The header mediator sets the WS-Addressing 'To' header on the request. Finally the send mediator sends the message to the EPR specified in the addressing 'To' header.
Response coming back from Axis2 will also get dispatched to the main sequence. But for the response the in mediator will not get executed. Only the send mediator will operate on responses which will simply send them back to the client.