[ http://issues.apache.org/jira/browse/AXIS2-1054?page=all ]

Fabian Christ updated AXIS2-1054:
---------------------------------

    Attachment: OptionalAttributes-r437657.patch

Hi,

what about this patch for optional and anyAttributes in codegen? The patches 
from AXIS2-1041 and AXIS2-1045 were insufficient. This patch should resolve it. 
Please apply the patch if possible. Or are there any problems related to this 
patch?

I attached a new patch for the latest svn rev.

- Fabian

> WSDL2Java: Correct support for optional and  any attributes
> -----------------------------------------------------------
>
>                 Key: AXIS2-1054
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1054
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: Latest SVN
>            Reporter: Fabian Christ
>         Attachments: OptionalAttributes-r437657.patch, 
> OptionalAttributes.patch
>
>
> Hi Dims,
> this new issue covers AXIS2-1041 and AXIS2-1045. The attached patch modifies 
> the code generation in the template file ADBBeanTemplate.xsl. The existing 
> problem is a missing check for null if an optional attribute is not set or if 
> no optional extra attributes are present. In those cases the serialization 
> ended in a NullPointerExcelption which is now caught by this patch.
> - Fabian

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to