title: Axis fault: "Service class must have public as access Modifier"
body: <p>I am trying to build a simple Web Service. I follow <a href="http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html" rel="nofollow">this tutorial</a> and it works just fine.</p>
  
  <p>But when I change to creating interface for the <code>Converter</code> class, Eclipse auto included both <code>IConverter.class</code> and <code>Converter.class</code> but when I run test, it always return this result:</p>
  
  <pre><code>&lt;soapenv:Reason&gt;
      &lt;soapenv:Text xml:lang="en-US"&gt;
          Service class wtp.IConverter must have public as access Modifier
      &lt;/soapenv:Text&gt;
  &lt;/soapenv:Reason&gt;
  </code></pre>
  
  <p>I have public keyword in the code of iConverter and its methods.</p>
  
  <p>Here is my java source:</p>
  
  <p>Interface:</p>
  
  <pre><code>package wtp;
  public interface IConverter {
      public float celToF(float cel);
      public float fToCel(float f);
  }
  </code></pre>
  
  <p>Implementation:</p>
  
  <pre><code>package wtp;
  
  public class Converter implements IConverter {
  
      @Override
      public float celToF(float cel) {
          return cel * 9 / 5 + 32;
      }
  
      @Override
      public float fToCel(float f) {
          return (f - 32) * 5 / 9;
      }
  }
  </code></pre>
  
  <p>services.xml:</p>
  
  <pre><code>&lt;service name="IConverter"&gt;
      &lt;Description&gt;
          Test ws
      &lt;/Description&gt;
      &lt;messageReceivers&gt;
          &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" /&gt;
          &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" /&gt;
      &lt;/messageReceivers&gt;
      &lt;parameter name="ServiceClass" locked="false"&gt;wtp.IConverter
      &lt;/parameter&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&gt;
      &lt;display-name&gt;TestWS&lt;/display-name&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
          &lt;welcome-file&gt;/axis2-web/index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
      &lt;servlet&gt;
          &lt;display-name&gt;Apache-Axis Servlet&lt;/display-name&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.apache.axis2.transport.http.AxisServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/servlet/AxisServlet&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.jws&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet&gt;
          &lt;display-name&gt;Apache-Axis Admin Servlet Web Admin&lt;/display-name&gt;
          &lt;servlet-name&gt;AxisAdminServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.apache.axis2.transport.http.AxisAdminServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;100&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;AxisAdminServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/axis2-admin/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>How can I solve this problem?</p>