title: Generate toString method with ant
body: <p>I have .wsdl files and using wsimport I'm generating classes to use the webservices.</p>
  
  <p>The problem is that I need to add toString method to the generated classes. I saw that it is possible in the xjc but can't find a way to do it in wsimport.</p>
  
  <p>Do you know how to approach this?</p>
  
  <p>At the moment the function looks like that</p>
  
  <pre><code>    &lt;basename property="basename.file" file="${file}" /&gt;
      &lt;mkdir dir="/tmp" /&gt;
      &lt;exec executable="wsimport"&gt;
          &lt;arg value="-catalog" /&gt;
          &lt;arg value="jax-ws-catalog.xml" /&gt;
          &lt;arg value="-s" /&gt;
          &lt;arg value="${src.generated}" /&gt;
          &lt;arg value="-keep" /&gt;
          &lt;arg value="-d" /&gt;
          &lt;arg value="/temp" /&gt;
          &lt;arg value="-Xnocompile" /&gt;
          &lt;arg value="file://mock_${basename.file}" /&gt;
      &lt;/exec&gt;
  </code></pre>