Ronald Pieterse wrote: > > In my SOAP request I have a Calendar value that is not required: > > <calendar></calendar> > <calendar /> > > Are these 2 cases differently handled? Is it correct that the first one is > an empty string "" and the second one is null? > Can this be configured in some way? >
I can't see how those two cases would be handled differently, if they are present, you should get an empty string for both (but you should test to confirm). To get null, you'd want to use xsi:nil as described here: https://jaxb.dev.java.net/tutorial/section_2_2_12_8-No-Value.html#No%20Value Glen -- View this message in context: http://cxf.547215.n5.nabble.com/JAXB-handling-of-empty-values-tp841865p881911.html Sent from the cxf-user mailing list archive at Nabble.com.
