Where can i find the JAX-WS version shipped with Java 6?

Vicky picture Vicky · Jun 8, 2011 · Viewed 15.2k times · Source

I'm using Java 6 for learning more about web Services (JAX-WS). I also read that JAX-WS latest version is available with Metro, i.e. If you're not using JDK6 and planning to use JAX-WS, you can use Metro.

I would like to know which version of the JAX-WS is shipped with my JDK? I'm using jdk1.6.0_22.

Answer

Gursel Koca picture Gursel Koca · Jun 8, 2011

JAX-WS is part of standart JDK since version 6. You can learn which version of jax-ws by means wsgen or wsimport. You can find them bin subdirectory of your jdk installation.

Q. How do I find out which version of the JAX-WS RI I'm using? Run the following command

$ wsgen or wsimport -version Alternatively, each JAX-WS jar has version information in its META-INF/MANIFEST.MF, such as this:
Build-Id: 12/14/2005 12:49 PM(dkohlert) Build-Version: JAX-WS RI 2.0-12/14/2005 12:49 PM(dkohlert)-ea3