Hi,
I am interested in trying to create some complex xsd types, using code first
development....
So far, I've seen how to do some things, like create enums by using the
@XmlEnum annotation, etc....
What i haven't come accross is a way to specify some of the interesting
restriction facets, like:
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="5"/>
<xs:maxLength value="8"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="replace"/>
</xs:restriction>
</xs:simpleType>
And there are several other more examples here:
http://www.w3schools.com/schema/schema_facets.asp
Are these type restrictions meant to be enforced if specified in the wsdl as
such, within JAXWS and CXF?
e.g. if I specified these types for parameters, when using wsdl first
development, and then tried to pass values that don't comply to the
restrictions, should I expect a WebFault to be thrown?
Thanks,
Jason
--
View this message in context:
http://www.nabble.com/How-to-generate-complex-type-restrictions-with-code-first-development-tf4277371.html#a12174861
Sent from the cxf-user mailing list archive at Nabble.com.