You must first download and install the JAX-WS JAR files from the JAX-WS Reference Implementation (RI) project.
Download and unzip JBoss Application Server 4.x/5.x in the /opt directory.
Download jaxws-ri.zip from the following site: https://jax-ws.dev.java.net/
Unzip jaxws-ri.zip in /opt.
On Solaris and Linux systems, set the JAX-WS RI shell scripts to be executable. For example:
cd /opt/jaxws-ri/bin chmod +x *.sh