[ http://issues.apache.org/jira/browse/AXIS2-1054?page=comments#action_12432211 ] Fabian Christ commented on AXIS2-1054: --------------------------------------
Hi, please add this issue to the "wsdl" component group. I forgot to complete that part of the issue form. thanks, 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]
