axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Brandow (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2122) WSDL2Java - i18n - JavaWriter.java
Date Thu, 21 Jul 2005 13:40:48 GMT
    [ http://issues.apache.org/jira/browse/AXIS-2122?page=comments#action_12316347 ] 

David Brandow commented on AXIS-2122:
-------------------------------------

I attached a proposed fix, which is based on the implementation of JavaDeployWriter's getPrintWriter()
method.

> 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


Mime
View raw message