axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajagopalan (JIRA)" <>
Subject [jira] Commented: (AXIS2-4795) Inconsistent code generated by axis2 using Helper mode
Date Mon, 20 Dec 2010 05:38:01 GMT


Rajagopalan commented on AXIS2-4795:


Thank you for addressing this issue.

I have following issues with AXIS2 codegen with the helper mode

1. Generates getters for boolean attributes as "get<attribname>" instead of "is<attribname"
2. For all the beans generating the code assuming the scope as protected instead of private
in the helper classes, because with the helper mode using the existing classes helper classes
needs manual alterations
3. For all arrays with nillable=true, generated code returns empty array, by not allowing
to have it as null. 
4. there is no way to get a byte[] for type base64Binary type, instead it is always expect
to give datahandler, where there can be a option given to get a byte[], when mtom is disabled
for base64 encoding

for all the above issues I need to modify the ADBBeanTemplate.xsl which makes to stick to
the version i use currently and creates discomfort for upgrades.

Appreciate your help in addressing all these issues.



> Inconsistent code generated by axis2 using Helper mode
> ------------------------------------------------------
>                 Key: AXIS2-4795
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, codegen, databinding
>         Environment: Axis2/Tomcat on Linux env
>            Reporter: Rajagopalan
>             Fix For: 1.6
>   Original Estimate: 240h
>  Remaining Estimate: 240h
> I am migrating existing project which is based on Webshpere environment to Tomcat/Axis2
> I wanted to reuse existing bean objects with Axis2 as there is lot of constants and initializations
in the beans.
> The generated code expecting MY_QNAME constant on the bean which coden gen does not create.

> Let me know if you need any further details.
> rajagopalan

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:
For additional commands, e-mail:

View raw message