Fix JAX-WS 2.0 API misuse.