Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need help with creating inital JAX-WS project

I'm stepping through this tutorial: http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html

I'm trying to select the axis2 Web Service facet (step 6) but I'm getting this error message in eclipse: "Axis2 Web Services Core 1.1 requires Dynamic Web Module with version matching expression "2.2,2.3,2.4,2.5"

screenshot

Update: I had downloaded and installed axis2 1.5.4 and then in eclipse I went into "windows->preferences->web services->axis2 preferences". Under the "axis2 runtime" tab I specified the axis2 location. The message "Axis2 runtime loaded successfully" appeared.

sreenshot2

I don't know why it says "Axis2 Web Services Core 1.1". Does eclipse wtp come bundled with axis2 1.1 or is there a separate version # for the axis core from the overall axis version #?

like image 469
opike Avatar asked May 13 '11 05:05

opike


People also ask

How do I create a JAX-WS web service in NetBeans?

You can create a JAX-WS web service in a Maven project. Choose File > New Project (Ctrl-Shift-N on Linux and Windows, ⌘-Shift-N on MacOS) and then Maven Web Application or Maven EJB module from the Maven category. If you haven't used Maven with NetBeans before, see Maven Best Practices.

What does JAX-WS stand for?

JAX-WS stands for Java API for XML Web Services. JAX-WS is a technology for building web services and clients that communicate using XML.


3 Answers

when I switched it to a lower version. It says

cannot change version of project facet Dynamic Web Module to 2.5

enter image description here

like image 197
Ashutosh Avatar answered Sep 20 '22 03:09

Ashutosh


Change the Dynamic web module version to lower.

I used java 1.5 and Dynamic web module version-3.0 So its raised an error. Then I changed the version 2.5. Now its not showing any error

like image 40
Sivaji Ay Avatar answered Sep 23 '22 03:09

Sivaji Ay


@Yasin - you were right, it was merely a mater of changing the Dynamic web module to a previous version. I wasn't aware that the earlier versions had also been installed.

I'd give you credit for the answer, but since you just left a comment I just up-voted your comment.

like image 25
opike Avatar answered Sep 20 '22 03:09

opike