Question: I have generated java clients uisng wsdl2java using axis2. My client programs can sucessfully connect to webservice. I want to log outgoing soap request to read soap message. 

Can someone direct me to an article expaining how can I log soap messages in Axis2.

Answer: 
I realize this is an old question, but in case it helps anyone you can turn on logging by putting this tag into both the `<requestFlow>` and `<responseFlow>` sections of your globalConfig in your server-config.wsdd file: 

```
<handler type="java:org.apache.axis.handlers.LogHandler"/>

```
Please see Step 6 here: [Axis2 Hello world](http://people.apache.org/~ruchithf/hw-axis2/). Besides that, you may check [SoapUI](http://www.soapui.org/)