Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Axis2 webservice for tomcat 6 using eclipse wtp(Creating Bottom Up Web Service via Apache Axis2)
Axis2 webservice for tomcat 6 using eclipse wtp [message #557161] Sun, 05 September 2010 14:29
Chang  is currently offline Chang Friend
Messages: 5
Registered: September 2010
Junior Member

I'm new to Axis2 and want to write a simple test webservice using eclipse, wtp3.1.1 and tomcat 6, using this tutorial 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.

package test;

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!!!

Kind regards,

[Updated on: Sun, 05 September 2010 14:47]

Report message to a moderator

Previous Topic:generate web services programmatically
Next Topic:programatically add jar to deployment assembly?
Goto Forum:

Current Time: Sat Oct 24 15:28:31 GMT 2020

Powered by FUDForum. Page generated in 0.02000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top