The XML Schema to Java Beans Compiler

The Novell exteNd Web Services SDK xsd2java compiler transforms XML Schema into standard Java Bean classes with associated marshalers for conversion between the Java Bean representation and the external XML representation. The marshalers will produce and read XML, which conforms to the defining XML schema. For more information on how to write a schema, please have a look at XML Schema Primer document from w3c.

The xsd2java compiler is used internally by the wsdl2java compiler when processing schema types. This vastly increases developer productivity since Java Beans and marshalers are automatically created for clients that need to invoke a SOAP end point. The generated type mappings are automatically compiled into the generated service class, which means that no client programming is required to use them.

The xsd2java compiler supports many commonly encoutered schema types and generates appropriate Java Beans depending on the XML Schema definition. It has full implementation of the JAX-RPC XML to Java mappings. As an example, the compiler supports the entire UDDI Version 2.0 XML Schema . To find out which schema constructs are supported by Novell exteNd WSSDK, click here.

For examples of generated code for simpleType click here.
For examples of generated code for complexType click here.

Please note the following while working with xsd2java.


Copyright © 2001-2003, Novell, Inc. All rights reserved.