The WSIT Tutorial

Package-level Annotations

The following package-level JAXB annotations are relevant from an interoperability standpoint:

@XmlSchema Annotation

A package is mapped to an XML namespace. The following attributes of the XML namespace can be customized using the @XmlSchema annotation parameters:

These XML namespace attributes are bound to .NET serialization attributes (for example, XmlSerializer attributes).

Not Recommended Annotations

Any JAXB 2.0 annotation can be used, but the following are not recommended: