|Axis2 webservice for tomcat 6 using eclipse wtp [message #557161]
||Sun, 05 September 2010 14:29
Registered: September 2010
I'm new to Axis2 and want to write a simple test webservice using eclipse, wtp3.1.1 and tomcat 6, using this tutorial http://www.eclipse.org/webtools/community/tutorials/BottomUp Axis2WebService/bu_tutorial.html
In the first step i chose axis2-1.4.1, because with version 1.5.1 i got some errors.
Then I created a dynamic webproject, chose the target runtime tomcat 6 and added axis2.war to the webapps folder of tomcat.
In the project properties i added the facets for axis2 webservices and then i wrote a simple test class.
public class Test
public int add(int x, int y)
return x + y;
After this i created a webservice with the implementation class test.Test with configuration test service and chose the runtime Axis2. When i deploy this to tomcat and start, there are no error messages, but when i go to http://localhost:8080/axis2/services/listServices, my webserice is not listed on the axis page like in step 19 of the tutorial.
Any help is appreciated!!!
[Updated on: Sun, 05 September 2010 14:47]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.09787 seconds