You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/25 10:37:46 UTC

[jira] Resolved: (AXIS2-3830) wsdl2java not mapping nillable elements to wrapper classes

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

Amila Chinthaka Suriarachchi resolved AXIS2-3830.
-------------------------------------------------

    Resolution: Fixed

now axis2 supports only java 1.5 or higher hence this fix is not required. 

unless user given the option to generate wrapper classes axis2 does not generate it since most people like to work with primitive types rather than the wrapper types.

> wsdl2java not mapping nillable elements to wrapper classes
> ----------------------------------------------------------
>
>                 Key: AXIS2-3830
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3830
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4
>            Reporter: Adam Crume
>         Attachments: autoboxing-patch.txt
>
>
> I have a WSDL which contains (in part):
>    <element name="searchLogs">
>     <complexType>
>      <sequence>
>       <element name="tableID" nillable="true" type="xsd:int"/>
>       ....
>      </sequence>
>     </complexType>
>    </element>
>    <wsdl:message name="searchLogsRequest">
>      <wsdl:part element="intf:searchLogs" name="parameters"/>
>   </wsdl:message>
>      <wsdl:operation name="searchLogs">
>        <wsdl:input message="intf:searchLogsRequest" name="searchLogsRequest"/>
>        <wsdl:output message="intf:searchLogsResponse" name="searchLogsResponse"/>
>     </wsdl:operation>
> and the generated ADB code uses an int for the parameter rather than an Integer.  This happens for both wrapped and unwrapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org