title: Java - Jax-Ws WebService (SOAP)
body: <p>i have a class like this:</p>
  
  <pre><code>public class Foo {
      private int id;
      private Foo children;
  
      //here default constructor and setter/getter for both (id and children)
  }
  </code></pre>
  
  <p>and one service like this:</p>
  
  <pre><code>@WebMethod
  public boolean setTree(Foo foo) {
      //do something
  }
  </code></pre>
  
  <p>When i import the wsdl with wsimport the class Foo presents only getter and setter of the int id property. Why Foo children property is missing?. The ws import is correct (no error) and the service call ends correctly ...
  Note: my Foo class must map a tree of Foo object (children proprety will changed in List child).</p>
  
  <p>Where is my error?
  Thanks in advance</p>