Hi
I'm not sure if it's bug but I've found something suprising.
I got property of object which is enum. It looks like below
<xs:simpleType name="notificationType">
<xs:restriction base="xs:string">
<xs:enumeration value="SEND_FILE"/>
<xs:enumeration value="SEND_LINK"/>
<xs:enumeration value="DO_NOTHING"/>
</xs:restriction>
</xs:simpleType>
If client sends invalid value for this enumeration then object is
initialized with null for property notification and ApacheCXF doesn't reply
any Fault. Is it accurate behaviour that ApacheCXF doesn't validate
soap-message due to XSD ?
Beniamin
--
View this message in context:
http://www.nabble.com/Handling-elements-of-type-xs%3Astring-restricted-to-enumeration-tp15002362p15002362.html
Sent from the cxf-user mailing list archive at Nabble.com.