axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4542) nillable="true" gets generated for primitive types
Date Tue, 03 Nov 2009 09:25:59 GMT

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


Mime
View raw message