Is it possible to make axis/axis2 to generate toString method for classes generated by wsdl2java? They can be created manually using IDE such as Eclipse, but they will need to be regenerated each time wsdl2java is launched.
Without this method, an output in logs for instances of this classes contains no useful data (only class name and hash). While it is possible to convert the given object into string representation via reflection methods (such as apache's BeanUtils.describe
), this solution have bigger performance impact than dedicated toString method.
Is there a plugin or patch available, that will add such functionality to axis? Or a command-line script that can be run afterwards?
This question is aimed to both versions of axis.
I don't want to reinvent the wheel, I think this is wider issue, so propably someone has already written something like that.