2。对WSDL类型完整控制,使用J2XB annotations - XML Constraints, Validations, Facets, Substitution Groups等
3。POJO对象发布,同时包括web service的属性函数,支持属性包括: a)任何J2XB映射bean b)任何J2XB支持的基本类型或者值对象 c)任何集合(Array, List or Set) d)函数异常
J2XB属性:
1。从Java代码完整生成XML Schema,包括Schema属性。 o XML validations (Facets, such as minLength and patterns). o Substitution Groups o Full control of the XML document structure, including flattening Java structures and introducing grouping XML elements. o Support all XML Simple types o XML Union Types o XML List Types
2。绑定任何Java对象到XML o No requirement for inheriting from a common ancestor. o No requirement to implement any interface. o No requirement to have a default constructor. o No requirement to even have a public constructor, if a factory is provided o Full support for factories (static factories, instance factories) o Support for Java built in collection types (Set, List, Array)
3。完整支持集成 o Mapped as Substitution Groups o Complete and accurate XML Schema generation of the Substitution Groups o Mapping of generic atomic properties (of type Object and Number) to XML Unions.