axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Godwin Chapman (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-4542) nillable="true" gets generated for primitive types
Date Tue, 03 Nov 2009 22:00:32 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Godwin Chapman reassigned AXIS2-4542:
-------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         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