axis-java-dev mailing list archives

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

                 Key: AXIS2-4542
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.5.1
            Reporter: Mike

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:element minOccurs="0" name="prim" type="xs:int"/>
            <xs:element minOccurs="0" name="nullable" type="xs:int"/>

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.

View raw message