I generated a CXF Web Service based on a WSDL using WSDL2Java. One of
the requests has an optional element which is restricted to an
enumeration using an XML facet on the schema.

The problem is that whenever the client sends an invalid value on this
element, the related field is set to null and since it's an optional
element, I cannot determine if the user sent the value or not.

What can I do to determine if the user omitted the element or sent an
invalid value with it?

Agustin

Reply via email to