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 "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org> on 2004/12/17 19:35:18 UTC

[jira] Commented: (AXIS-1733) BeanSerializer can't get nillable value correctly

     [ http://nagoya.apache.org/jira/browse/AXIS-1733?page=comments#action_56832 ]
     
Dominik Kacprzak commented on AXIS-1733:
----------------------------------------

Venkat,

I will look into this issue when you post your test case.  I originally implemented support for the nillable elements and it's quite possible that I missed some cases which are not covered by the current tests.

- Dominik

> BeanSerializer can't get nillable value correctly
> -------------------------------------------------
>
>          Key: AXIS-1733
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1733
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>     Reporter: Venkat Reddy

>
> The nearest test case related to this issue - test.wsdl.omit.OmitTestCase only tests if the attribute can be read from the org.w3c.dom.Element object. However the code in org.apache.axis.encoding.ser.BeanSerializer, gets this value by calling ElementDesc.isNillable().
> boolean isNillable = ((ElementDesc)field).isNillable();
> I find that this is not giving same results as reading nillable attribute from the DOM element, because i can see WSDL (fetched by ?WSDL) which clearly defines nillable="true", but isNillable() returns false.
> Will post a modified test case to reproduce this. Appreciate if anyone could share their knowledge on this meanwhile.
> Thanks
> Venkat

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