Marjan,
The ESB itself does not log messages anywhere until you report it.
a) . The first approach is to write incoming and outgoing messages to the log using the log broker:
<proxy xmlns="http://ws.apache.org/ns/synapse" name="YourProxyService" transports="https http" startOnLoad="true">
<target>
<inSequence>
<log level="full">
<property name="MESSAGE_ID" expression="get-property('MessageID')"/>
</log>
...
</inSequence>
<outSequence>
<log level="full">
<property name="MESSAGE_ID" expression="get-property('MessageID')"/>
</log>
...
</outSequence>
</target>
</proxy>
Then you can find your incoming and outgoing messages in the log files, as the logs will contain the following:
INFO {org.apache.synapse.mediators.builtin.LogMediator} - To: http:
b) .
, .
.
UPD: SOAP, - ESB. .