cxf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CXF-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471630
] 

Freeman Fang commented on CXF-365:
----------------------------------

method is 
 public String testNillable(String nillElem, int intElem)
if the first param is null
the the message is 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:testNillable xmlns:ns2="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2005/08/addressing/wsdl">
<ns2:NillElem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
<ns2:intElem>100</ns2:intElem>
</ns2:testNillable>
</soap:Body>
</soap:Envelope>

we can see the null param is not missing from the message

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


Mime
View raw message