title: Apache Axis WSDL to Java conversion
body: <p>I have a integer field in a class which I have made private and no setter method is provided but when I generate the client with WSDL2Java, the generated class has a setter method.</p>
  
  <p>Why is it so?</p>
  
  <p>I am using Apache Axis 2.</p>
  
  <p>I am putting the code for more explanation</p>
  
  <pre><code>public class MyClass {
    private int id;
    public int getId() {
      return id;
    }
  }
  </code></pre>
  
  <p>So what should I do to hide the setter method when client is generated.</p>