Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project Test

Tags:

tomcat

axis2

Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project Test. Why? Please help me

like image 266
user564456 Avatar asked Jan 12 '11 21:01

user564456


People also ask

How to create Axis2 Web service in eclipse?

Select the Area. java class from "Project Explorer" view which is in the left handside of eclipse workspace. Click "Web service runtime" link and select "WSO2 Web Services Application Server" in the "Web service runtime" list box. Click "OK".

How to set Axis2 runtime location in eclipse?

Open Window -> Preferences -> Web Services -> Axis2 EmitterSelect the Axis2 Runtime tab and point to the correct Axis2 runtime location. Alternatively at the Axis2 Preference tab you can set the default setting that will come up on the Web Services Creation wizards.


2 Answers

I just had the same issue. It turns out that Axis2 doesn't like the 3.0 dynamic web projects of Eclipse. Just create a new dynamic web project and choose "Dynamic Web Module Version" to be below 3.0, i.e. 2.5, 2.4. I used the 2.5 version and now everything works like a charm.

Trying to change the version from the "Project Facets" in Preferences does not work :( so a new project must be made.

Good luck!

like image 92
Andrei Avatar answered Nov 11 '22 05:11

Andrei


I have got the same error like "The Tomcat v5.5 Server server does not support the service project xxxxx". I tried changing the version as 2.5 it also didnt workout for me. The solution is to add a new latest version server in the eclipse (Tomcat 7.0) and it worked for me.

like image 36
Ruthra Avatar answered Nov 11 '22 07:11

Ruthra