You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/02/09 09:58:05 UTC
[jira] Commented: (CXF-365) Marshalling generated wrong value for
null input parameter
[ https://issues.apache.org/jira/browse/CXF-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471622 ]
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">
<complexType>
<sequence>
<element name="NillElem" nillable="true" type="string"/>
<element name="intElem" type="int"/>
</sequence>
</complexType>
</element>
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: https://issues.apache.org/jira/browse/CXF-365
> 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 definition
> 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.