Hello All,
If my WSDL declares that some of the elements in the return type are optional (minOccurs="0"), how can I get XFire to *not* include them in the resulting SOAP message? If I return null in my Java code, or if I never set the value on a Holder<T>, XFire still returns the optional element and sets the xsi:nil attribute to true. Now my response doesn't validate against my own schema (since I don't say the element is nillable). Ideally, XFire would remember from the WSDL that the element is NOT nillable but IS minOccurs="0" and choose to exclude the element instead. Has anyone else figured out how to do this? -Chris
