WSConsume seems to be failing with the OpenJDK 22.214.171.124.x86_64 that's installed on (some?) RHEL distributions.
The reason is in a different (compare to Oracle and IBM JDK) implementation choice of the javax.tool.FileObject#getName() method:
OpenJDK returns objName strings like
while Oracle & IBM JDK return objName strings like:
This is currently basically disabling the mechanism we implemented in
JBWS-3589, so WSConsume become again dependent on the current (endorsed) java versions. So while by default JAXWS 2.2 sources are produced, the a JDK 6 compiler won't be able to compile them.