I dont' know what version of Eclipse I got. Only know its name is Galileo when it started up from the screen.
Platform: Windows Vista,
Java: 5+
I have searched for JAX-WS tutorial or wiki and also have searched help.eclipse.org/ still not able to find any step-by-step example about how to build a jax-ws service.
I found some "tutorial" use plug-ins to build jax-ws , but is this necessary? because I known jax-ws is part of java 5 or 6.
Should I really need to install any "plug-ins" in this Eclipse version (Galileo) before start building jax-ws?
Your suggestion and reference links are much appreciated.
The JAX-WS plug-ins I needed didn't install with Galileo by default. Go to Help->Install New Software and look around for "CXF Web Services (Incubation)." Check the box and install it.
I believe you can still use Axis2 with good results but I'm using Apache CXF. You'll need one of them available on disk and pointed to from the Web Services preferences within Eclipse to get going.
The JAX-WS Tools plug-ins provide tooling for working with and validating JAX-WS annotations along with using the Apache CXF runtime to create JAX-WS Web services.
JAX-WS is part of the Java 6 JDK but there is no tooling that will allow you to use it with the WTP Web Services wizards.
Thank you for the explanation, it does clear some of my puzzle.
Is there any way that I dont' need to install CXF package but compile/build the JAX-WS service in Eclipse Galileo?
In my work place, I imported a JAX-WS project which was created by other developers . The package included some xml included a build.xml file. I can build this WS project with build.xml (double click on its "deploy" command in the Eclipse Ant panel) without install any CXF package. And some developer said it doesn't need to install any jax-ws package before building this jax-ws project, because it is a build-in features/api from JDK 5/6.
But then why need CXF in eclipse if I can build a jax-ws without it? since it is part of jdk api.
here is the build.xml file this project use, do I need to create this build.xml by hand?
<target name="help">
<echo message="server: Builds and deploy the service endpoint WAR"/>
<echo message="client: Builds the client"/>
<echo message="run: Runs the client"/>
<echo message="deployLocal: Builds and deploy the Endpoint API based service"/>
<echo message="deployLocal-stop: Stops Endpoint API based service"/>
</target>
From what you've described no you don't need to install the JAX-WS Tools.
You can continue to compile and build your projects with JDK 6 and use the ANT files to deploy.
The CXF plug-ins in the tools provide preferences and integrations with the WTP Web Services wizards for using the Apache CXF runtime.
With this you can setup the CXF runtime, it's default options and you can use the WTP Web services wizards to develop, deploy, test and publish your JAX-WS Web services and to create clients for existing services.
The JAX-WS Tools also includes tooling that it is not bound to any JAX-WS runtime and that may be of use to you.
This includes validation of the JAX-WS annotations in the Java Editor along with quick fixes for many errors. There is also content assist available for some of the JAX-WS annotation attribute values.
If I want to use SOAPUI to test it, I need to import a wsdl file that generated by the MyWSImpl class (correct me if I am wrong), now how to execute this MyWSImpl class in order to generate the wsdl file?