This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The issue comes from the fact that the JRE and/or JDK now comes with its implementation of JAX-WS. However Metro uses a more recent one. To make sure the right API is used, the webservices-api jar from the metro distribution must be placed in the 'endorsed' section of either of the following:
1. the container of the application e.g. Tomcat or Glassfish
2. or the endorsed folder of the JRE.
In the latter case, do remember that it must be the endorsed folder of the JRE being used to run your program. This could be (in windows)
In the former case:
1. for tomcat: <tomcat_home>\lib
2. for glassfish: <glassfish_home>\lib\endorsed
No matter what they say in Ohio, we're still first in flight!