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 "Stefan Lischke (JIRA)" <ji...@apache.org> on 2007/09/13 18:11:32 UTC

[jira] Commented: (AXIS2-3158) Generating Java 1.5 Code when using XMLBeans

    [ https://issues.apache.org/jira/browse/AXIS2-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527156 ] 

Stefan Lischke commented on AXIS2-3158:
---------------------------------------

I have implemented and tested this feature and can commit a patch if you want it.

following usage:

add the Extra command 

"-Ejavaversion 1.5"

to the wsdl2java call and this Property is searched in the CodeGenerationConfig and put into the XmlOptions that are given to XmlBeans.

It works very well :-) and is only some lines in the CodeGenerationUtility

> Generating Java 1.5 Code when using XMLBeans
> --------------------------------------------
>
>                 Key: AXIS2-3158
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3158
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Wish
>          Components: databinding
>    Affects Versions: 1.4
>            Reporter: Stefan Lischke
>            Priority: Minor
>
> When using XMLBeans from commandline, i'm able to give the parameter -javaversion 1.5 and the code generated for unbounded occurrences uses typed Lists instead of Arrays. 
> I would like to have this possibility also when using xmlbeans within axis2. If i have time, i'll look at the code to propose a solution for this. Maybe an update to xmlbeans 2.3 is enough.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org