There is a problem with Metro WSIT 4.0.4 as reported here: https://github.com/eclipse-ee4j/metro-jax-ws/issues/707
I have been working with people at Oracle and they have found a solution, described at the URL above.