When wsimport generates a client-jar from a WSDL-file with a characterset other than UTF-8, this client-jar
is unusable. This problem results from the fact, that client-jar contains a WSDL, with a missing
XML-declaration. (ex. <?xml version="1.0" encoding="ISO-8859-1"?> )
The work around is to run wsimport in a UTF-8 locale
A reproducer is attached along with log files that show success and failure.
Previously trcked via: https://bugs.openjdk.java.net/browse/JDK-8134598
When wsimport generates a client-jar from a WSDL-file with a characterset other than UTF-8, this client-jar is unusable. This problem results from the fact, that client-jar contains a WSDL, with a missing XML-declaration. (ex. <?xml version="1.0" encoding="ISO-8859-1"?> )
The work around is to run wsimport in a UTF-8 locale
A reproducer is attached along with log files that show success and failure.
Source: https://github.com/javaee/metro-jax-ws/issues/1227 Author: LanceAndersen