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 ji...@apache.org on 2004/04/19 08:25:53 UTC

[jira] Created: (AXIS-1321) nillable attribute yields primitive type

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1321

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1321
    Summary: nillable attribute yields primitive type
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Måns Tånneryd

    Created: Sun, 18 Apr 2004 11:25 PM
    Updated: Sun, 18 Apr 2004 11:25 PM

Description:
Given that "primitive types" like int, boolean, double and so on are allowed to be nillable, which I assume they are even though I'm not quite sure, in the WSDL file they should yield some kind of wrapper class so that it can be null, right? I'm trying to set a boolean as nillable in my WSDL file but the generated classes simply puts a boolean there which makes it rather diffcult to regard the parameter as optional.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1321) nillable attribute yields primitive type

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1321?page=comments#action_55624 ]
     
Tom Jordahl commented on AXIS-1321:
-----------------------------------

Fixed in 1.2 (post RC2).

> nillable attribute yields primitive type
> ----------------------------------------
>
>          Key: AXIS-1321
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1321
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2 Beta
>     Reporter: Måns Tånneryd
>     Priority: Minor

>
> Given that "primitive types" like int, boolean, double and so on are allowed to be nillable, which I assume they are even though I'm not quite sure, in the WSDL file they should yield some kind of wrapper class so that it can be null, right? I'm trying to set a boolean as nillable in my WSDL file but the generated classes simply puts a boolean there which makes it rather diffcult to regard the parameter as optional.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXIS-1321) nillable attribute yields primitive type

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1321?page=history ]
     
Tom Jordahl closed AXIS-1321:
-----------------------------

    Resolution: Fixed

Applied patch from Dominik Kacprzak <do...@sonic.net> (found in Axis-530).
Please try the latest CVS.

> nillable attribute yields primitive type
> ----------------------------------------
>
>          Key: AXIS-1321
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1321
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2 Beta
>     Reporter: Måns Tånneryd
>     Priority: Minor

>
> Given that "primitive types" like int, boolean, double and so on are allowed to be nillable, which I assume they are even though I'm not quite sure, in the WSDL file they should yield some kind of wrapper class so that it can be null, right? I'm trying to set a boolean as nillable in my WSDL file but the generated classes simply puts a boolean there which makes it rather diffcult to regard the parameter as optional.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira