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
Hello

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.

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,
Chang

[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: Fri Apr 19 13:47:24 GMT 2024

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

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

Back to the top