I am developing a webapp with a built-in webservice with Axis2 using Maven. The service implementation is an RPC-type POJO, the target application server is Tomcat, which runs the Axis2 servlet.
"Hello world" works, but now I need to configure some global axis2 parameters in the axis2.xml file (located under WEB-INF / conf).
Please indicate or indicate a simple configuration for axis2.xml for this general environment. The default value taken from the binary distribution includes too many functions (hotdeploy?), And also causes this problem:
<soapenv:Reason>
<soapenv:Text xml:lang="en-US">
The ServiceClass object does not implement the required method
in the following form: OMElement ping(OMElement e)
</soapenv:Text>
</soapenv:Reason>
By reference: http://axis.apache.org/axis2/java/core/docs/servlet-transport.html says that this way you configure the servlet transport, but this does not solve the problem.
<transportReceiver name="http" class="org.apache.axis2.transport.http.AxisServletListener"/>
source
share