eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
70 stars 40 forks source link

wsimport fails on non UTF-8 locales #601

Open Tomas-Kraus opened 2 years ago

Tomas-Kraus commented 2 years ago

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