Axis 1.x payload debug

When using Axis to send data to a web service, you can set the logger level on org.apache.axis.transport.http.HTTPSender to DEBUG to see what's going on. 

Anyway be careful: the system will produce a lot of logs, so use it only in developement mode! 

Here's a sample in log4j.properties: 

log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG log4j.logger.org.apache.axis.client.Call=DEBUG log4j.logger.org.apache.axis.client.AxisClient=DEBUG log4j.logger.org.codehaus.xfire = DEBUG 

The last line line is for xfire 

The axis Call object is used by the autogenerated stub, so it is userful when you are calling using them.

Another good option is to enable the apache http client tracing.