Uses of Interface javax.xml.soap.SOAPHeaderElement (Java Platform SE 8 )
Date: 2026-04-22

## Uses of Interface
javax.xml.soap.SOAPHeaderElement

- Packages that use SOAPHeaderElement
  Package | Description
  --- | ---
  javax.xml.soap | Provides the API for creating and building SOAP messages.

- - ### Uses of SOAPHeaderElement in javax.xml.soap

    Methods in javax.xml.soap that return SOAPHeaderElement
    Modifier and Type | Method and Description
    --- | ---
    `SOAPHeaderElement` | SOAPHeader.`addHeaderElement(Name name)` Creates a new `SOAPHeaderElement` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addHeaderElement(QName qname)` Creates a new `SOAPHeaderElement` object initialized with the specified qname and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addNotUnderstoodHeaderElement(QName name)` Creates a new NotUnderstood `SOAPHeaderElement` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement(Iterator supportedSOAPURIs)` Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified List of supported SOAP URIs and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement(String supportedSoapUri)` Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified supported SOAP URI and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement(String[] supportedSoapUris)` Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified array of supported SOAP URIs and adds it to this `SOAPHeader` object.

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.