Save this file as client-config.wsdd in the working directory of your Apache Axis Java client. Axis will load it automatically. The configuration here tells Axis to save all incoming and outgoing XML into a file named axis.log.
<!--
Tell Axis to save all incoming and outgoing XML into a file named "axis.log"
-->
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler name="log" type="java:org.apache.axis.handlers.LogHandler"/>
<globalConfiguration>
<requestFlow>
<handler type="log"/>
</requestFlow>
<responseFlow>
<handler type="log"/>
</responseFlow>
</globalConfiguration>
<transport name="http"
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
</deployment>