Thursday, February 11, 2010

A simple JAX-WS Web Service with (Galileo) Eclipse

Here's a good tutorial from Grégory Le Bonniec's blog

http://java-soa.blogspot.com/2008/07/simple-jax-ws-web-service-with-eclipse.html

The tutorial is posted two years ago, so I made some adjustment using GALILEO Eclipse for Microsoft Windows now with Apache Tomcat 6.0 as the target runtime server.

Ignore the JAXWS_ROOT, the wsimport executable file can be found in your JDK bin folder. In my case it's: C:\Program Files\Java\jdk1.6.0_18\bin\wsimport.exe

You also need to download the following JAR files (www.jarfinder.com) and save these in your project's WEB-INF/lib folder:

jaxb-impl-2.1.8.jar
jaxws-rt-2.1.4.jar
stax-ex-1.2.jar
streambuffer-0.8.jar


Happy coding =)