You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "David Brandow (JIRA)" <ax...@ws.apache.org> on 2005/07/21 15:29:56 UTC

[jira] Updated: (AXIS-2122) WSDL2Java - i18n - JavaWriter.java

     [ http://issues.apache.org/jira/browse/AXIS-2122?page=all ]

David Brandow updated AXIS-2122:
--------------------------------

    Attachment: JavaWriter.java

Proposed fix (very simple)

> WSDL2Java - i18n - JavaWriter.java
> ----------------------------------
>
>          Key: AXIS-2122
>          URL: http://issues.apache.org/jira/browse/AXIS-2122
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1, 1.2RC1, 1.2RC2, 1.2RC3, 1.2, 1.2.1
>  Environment: All
>     Reporter: David Brandow
>  Attachments: JavaWriter.java
>
> org.apache.axis.wsdl.toJava.JavaWriter's getPrintWriter() implementation differs from that of org.apache.axis.wsdl.toJava.JavaDeployWriter in that it doesn't write out the code in UTF-8. As a result, if you have i18n characters in your WSDL, the Java code that gets generated is incorrect and won't compile. If you change JavaWriter's getPrintWriter() implementation to match that of JavaDeployWriter, the generated java is correct and compilable (assuming you use javac -encoding UTF-8).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira