I followed the tutorial at this link to create a axis2 webservice project using maven and eclipse.
However, this setup doesn't allow me to debug my code. Can someone point me to a link which will allow me to use maven to build my axis2 webservice and debug the code inside eclipse?
If you're using Tomcat within Eclipse, then perhaps it's just a matter of putting the project on the source lookup path. Because you're not deploying it as a .war
in Tomcat, it's just deployed as an .aar
within the axis2.war
deployment. Try this:
Run
-> Debug Configurations...
Apache Tomcat
Source
tabAdd...
buttonJava Project
and then HighScoreService
You should be able to put a breakpoint in the code and debug it. I put a breakpoint on line 21 of HighScoreService.java
, invoked getHighScores
from SoapUI, and was able to debug.