[ 
https://issues.apache.org/jira/browse/CXF-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-2691.
------------------------------

    Fix Version/s: Invalid
       Resolution: Won't Fix



This is working as designed.    If the value is null, then if it is 
nillable=true, you would get an empty element with xsi:nil=true set.   
Otherwise, the element is omitted.   

> How to set null value in an element in response?
> ------------------------------------------------
>
>                 Key: CXF-2691
>                 URL: https://issues.apache.org/jira/browse/CXF-2691
>             Project: CXF
>          Issue Type: Task
>            Reporter: amit rathi
>             Fix For: Invalid
>
>
> Hi,
> We are facing one issue w.r.t. a null value for one of the element in the 
> response. As per the xsd, the element is nillable = false.  While populating 
> the response we are getting null value for this from Database. When we see 
> the response in SOAP UI, it doesn't show this element at all. This is causing 
> issue for consumer. Is there any way to have this element be seen in the 
> response as empty element?
> Thanks & Regards

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

Reply via email to