Hi, I have an element which is annotated as given below:
@XmlElement(name = "Items", nillable = false, required = false)
public String[] getItems() {
return items;
}
It generates fine when it contains items, and generates an empty element
when it does not:
<ns2:Items />
Is there any way that I can configure Apache CXF to exclude this element
when it is empty, in other words, not to generate anything for it?
Thank you,
Jaco
