title: Subclasses missing in Eclipse-generated WSDL
body: <p>I'm trying to set up a web service.</p>
  
  <p>My approach has been:</p>
  
  <ul>
  <li>create Dynamic Web Project</li>
  <li><p>create class "MyService":</p>
  
  <pre><code>@WebService
  @XmlSeeAlso({B.class})
  public class MyService {
      public A method() {
          return new B();
      }
  }
  </code></pre></li>
  <li><p>create class "A":</p>
  
  <pre><code>@XmlSeeAlso(B.class)
  public class A {
      public int propertyOfA=0;
  }
  </code></pre></li>
  <li><p>create class "B":</p>
  
  <pre><code>public class B extends A {
      public int propertyOfB=1;
  }
  </code></pre></li>
  <li><p>Create Web Service from MyService.java</p></li>
  </ul>
  
  <p>There are no errors, all the files get created. However, the class B does not appear anywhere in the WSDL. Consequently, all web service responses never contain any values for <code>propertyOfB</code>, as it's not in the service description.</p>
  
  <p>How do I get <code>B</code> into the WSDL?</p>
  
  <p>edit: I'm not sure if it makes any difference, but I'm creating the web service for Tomcat v7.0, Apache Axis</p>