[ https://issues.apache.org/jira/browse/AXIS2-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike updated AXIS2-4542: ------------------------ Attachment: patch.txt > nillable="true" gets generated for primitive types > -------------------------------------------------- > > Key: AXIS2-4542 > URL: https://issues.apache.org/jira/browse/AXIS2-4542 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.5.1 > Reporter: Mike > Attachments: patch.txt > > > An incorrect wsdl gets generated for primitive value wrapper objects. > That is if you have a pojo with the following method: > public void testPrims(int prim, Integer nullable) > { > } > you get a wsdl with the following schema: > <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://server.test"> > <xs:element name="testPrims"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="prim" type="xs:int"/> > <xs:element minOccurs="0" name="nullable" type="xs:int"/> > </xs:sequence> > </xs:complexType> > </xs:element> > </xs:schema> > the patch attached fixes the problem, please add the fix to the forecoming > release -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.