Annotations Found in the javax.xml.bind.annotation Package : Web Services Annotations « Web Services SOA « Java Tutorial






  1. XmlAccessorOrder sets the ordering of fields and properties in a class
  2. XmlAccessorType sets whether fields or JavaBean properties are serialized by default
  3. XmlAnyAttribute maps a JavaBean property to a map of wildcard attributes
  4. XmlAnyElement maps a JavaBean property to an XML infoset representation and/or JAXB element
  5. XmlAttachmentRef marks a field/property to indicate that its XML form is a URI reference to mime content
  6. XmlAttribute maps a JavaBean property to an XML attribute
  7. XmlElement maps a JavaBean property to an XML element derived from the property name
  8. XmlElementDecl maps a factory method to an XML element
  9. XmlElementRef maps a JavaBean property to an XML element derived from the property’s type
  10. XmlElementRefs marks a property that refers to classes with XmlElement or JAXBElement
  11. XmlElements contains multiple @XmlElement annotations
  12. XmlElementWrapper generates a wrapper element around an XML representation
  13. XmlEnum maps an enumeration of type Enum to an XML representation
  14. XmlEnumValue maps an enumerated constant in an Enum type to XML representation
  15. XmlID maps a JavaBean property to XML ID
  16. XmlIDREF maps a JavaBean property to XML IDREF
  17. XmlInlineBinaryData disables consideration of XOP encoding for data types that are bound to base64-encoded binary data in XML
  18. XmlList maps a property to a list simple type
  19. XmlMimeType associates the mime type that controls the XML representation of the property
  20. XmlMixed sets a JavaBean multivalued property to support mixed content
  21. XmlNs sets a namespace prefix with an XML namespace URI
  22. XmlRegistry marks a class that has XML element factories
  23. XmlRootElement maps a class or an enumerated type to an XML element
  24. XmlSchema maps a package name to an XML namespace
  25. XmlSchemaType maps a Java type to a simple schema built-in type
  26. XmlSchemaTypes contains multiple @XmlSchemaType annotations
  27. XmlTransient prevents the mapping of a JavaBean property to an XML representation
  28. XmlType maps a class or an Enum type to an XML Schema type
  29. XmlValue enables mapping a class to an XML Schema complex type with a simpleContent type or an XML Schema simple type








26.3.Web Services Annotations
26.3.1.The WebService annotation type elements
26.3.2.The WebMethod annotation type elements
26.3.3.The WebParam annotation type elements
26.3.4.The WebResult annotation type elements
26.3.5.Annotations Found in the javax.xml.bind.annotation Package
26.3.6.Create a simple Web Service
26.3.7.Developing Web Services Using JAX-WS