WSDL2Java is effected by the user's locale setting and generates files that has 
illegal names
---------------------------------------------------------------------------------------------

         Key: AXIS2-688
         URL: http://issues.apache.org/jira/browse/AXIS2-688
     Project: Apache Axis 2.0 (Axis2)
        Type: Improvement

  Components: Tools  
    Versions: 1.0    
 Environment: Win2K Pro, JDK 1.4, user.country = TR, user.language = tr, 
file.encoding = Cp1254
    Reporter: Ali Sadik Kumlali
    Priority: Minor


WSDL2Java generates files with local machine's character-set into 
schemaorg_apache_xmlbeans\system. These files cannot be added to CVS. I haven't 
checked whether it may cause run-time problems.

Here are the samples. If you cannot see the non-english character, assume it as 
\u0131 or ı.

Example1:
- Generated: ıdelement.xsb 
- Must be: idelement.xsb

Example2:
- Generated: accountıbantyped41dtype.xsb
- Must be: accountibantyped41dtype.xsb

My solutions is setting JAVA_OPTS as following before calling WSDL2Java:

set JAVA_OPTS=-Duser.language=EN -Dfile.encoding=iso-8859-1




-- 
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