# Uses of Package
javax.xml.soap

- Packages that use javax.xml.soap
  Package | Description
  --- | ---
  javax.xml.soap | Provides the API for creating and building SOAP messages.
  javax.xml.ws.handler.soap | This package defines APIs for SOAP message handlers.
  javax.xml.ws.soap | This package defines APIs specific to the SOAP binding.

- Classes in javax.xml.soap used by javax.xml.soap
  Class | Description
  --- | ---
  AttachmentPart | A single attachment to a `SOAPMessage` object.
  Detail | A container for `DetailEntry` objects.
  DetailEntry | The content for a `Detail` object, giving details for a `SOAPFault` object.
  MessageFactory | A factory for creating `SOAPMessage` objects.
  MimeHeaders | A container for `MimeHeader` objects, which represent the MIME headers present in a MIME part of a message.
  Name | A representation of an XML name.
  Node | A representation of a node (element) in an XML document.
  SOAPBody | An object that represents the contents of the SOAP body element in a SOAP message.
  SOAPBodyElement | A `SOAPBodyElement` object represents the contents in a `SOAPBody` object.
  SOAPConnection | A point-to-point connection that a client can use for sending messages directly to a remote party (represented by a URL, for instance).
  SOAPConnectionFactory | A factory for creating `SOAPConnection` objects.
  SOAPElement | An object representing an element of a SOAP message that is allowed but not specifically prescribed by a SOAP specification.
  SOAPElementFactory | Deprecated. - Use `javax.xml.soap.SOAPFactory` for creating SOAPElements.
  SOAPEnvelope | The container for the SOAPHeader and SOAPBody portions of a `SOAPPart` object.
  SOAPException | An exception that signals that a SOAP exception has occurred.
  SOAPFactory | `SOAPFactory` is a factory for creating various objects that exist in the SOAP XML tree.
  SOAPFault | An element in the `SOAPBody` object that contains error and/or status information.
  SOAPFaultElement | A representation of the contents in a `SOAPFault` object.
  SOAPHeader | A representation of the SOAP header element.
  SOAPHeaderElement | An object representing the contents in the SOAP header part of the SOAP envelope.
  SOAPMessage | The root class for all SOAP messages.
  SOAPPart | The container for the SOAP-specific portion of a `SOAPMessage` object.

- Classes in javax.xml.soap used by javax.xml.ws.handler.soap
  Class | Description
  --- | ---
  SOAPMessage | The root class for all SOAP messages.

- Classes in javax.xml.soap used by javax.xml.ws.soap
  Class | Description
  --- | ---
  MessageFactory | A factory for creating `SOAPMessage` objects.
  SOAPFactory | `SOAPFactory` is a factory for creating various objects that exist in the SOAP XML tree.
  SOAPFault | An element in the `SOAPBody` object that contains error and/or status information.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.