[ 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

Reply via email to