cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] Commented: (CXF-365) Marshalling generated wrong value for null input parameter
Date Fri, 09 Feb 2007 08:58:05 GMT


Freeman Fang commented on CXF-365:

I add a method testNillable in hello_world.wsdl , which in message is defined as follows
<element name="testNillable">
                        <element name="NillElem" nillable="true" type="string"/>
                        <element name="intElem" type="int"/>

And I can get nillable element mashalled in the message which value is null, just as you expect.
Would you provide the wsdl you use to see how to reproduce this issue, I will close this issue
now since I cannot reproduce it.

> Marshalling generated wrong value for null input parameter
> ----------------------------------------------------------
>                 Key: CXF-365
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.0-RC
>            Reporter: tli
>         Assigned To: Freeman Fang
> for methoda(Object param1, Object param2 ... ) , Object paramN allow null value in wsdl
> when executing port.methoda(param1, null ...), the correct message shold be:
>   <ts:param1>...</ts:param1>
>   <ts:param2 ts:nil=true/>
> but actually, I got
>   <ts:param1>...</ts:param1>

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

View raw message