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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/09/01 21:51:22 UTC

[jira] Resolved: (AXIS2-1054) WSDL2Java: Correct support for optional and any attributes

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

Davanum Srinivas resolved AXIS2-1054.
-------------------------------------

    Resolution: Fixed

Applied. thanks.

-- dims

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org