title: Axis2 hide operation from web service
body: <p>how can I un-expose an operation from a service, Java class, without making it private?</p>
  
  <pre><code>public class Service {
        public Banana[] getBananas(){}
        public Apple[] getApples(){}          
        public Basket getBasket(){}
  
        // workaround, which I don't need as operation
        public BasketFunction exposeBasketFunctionType()
  }
  
  public class Basket {
        private int size;
        private BasketFunction function;
  
        // getters and setters section
  }
  
  public class BasketFunction {
       private String position;
       public void swingTops();
  
        // getters and setters section
  }
  </code></pre>
  
  <p>problem is in this case that the <code>complexTypeMap</code> from <code>TypeTable</code> doesn't "know" who <code>BasketFunction</code> is, and this has to be exposed directly in the service so that the <code>getBasket()</code> operation can work.</p>