All: I'm having a peculiar problem and can't seem to find an easy solution using the CXF documentation. When a value passed via SOAP is empty (say, the middle name if it's an optional value), the JavaBean is filled in with an empty string, not null. This conflicts with JSR 303, which mostly only returns valid values for null strings, at least out of box (for instance, the Pattern validator in the RI returns true if the value is null but not if it's an empty string).
Is there a straightforward way to configure the data binding to use null rather than empty strings? Or do I need to write my own validators to test for empty strings and throw out the RI exemplars? David Sills