DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13318>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13318 simple fix to make Java2WSDL i18n comliant Summary: simple fix to make Java2WSDL i18n comliant Product: Axis Version: current (nightly) Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] For example, if you set service element name with any double-bytes string, the resulting WSDL says <?xml ... encoding="UTF-8"?> but it actually using local encoding instead of UTF-8. The problem is in XMLUtils, which Java2WSDL calls to write to file. The following methods need to be changed from XXXToStream(..., OutputStream out) { Writer writer = new OutputStreamWriter(out); .... } To XXXToStream(..., OutputStream out, String encoding) { Writer writer = new OutputStreamWriter(out, encoding); .... } The caller should be changed to appropriate encoding. In the case of Java2WSDL, UTF-8 should always be used since the prolog is hardcoded with UTF-8.