Uses of Class javax.xml.soap.SOAPMessage (Java Platform SE 8 )
Date: 2023-01-18

## Uses of Class
javax.xml.soap.SOAPMessage

- Packages that use SOAPMessage
  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.

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

    Methods in javax.xml.soap that return SOAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `abstract SOAPMessage` | SOAPConnection.`call(SOAPMessage request, Object to)` Sends the given message to the specified endpoint and blocks until it has returned the response.
    `abstract SOAPMessage` | MessageFactory.`createMessage()` Creates a new `SOAPMessage` object with the default `SOAPPart`, `SOAPEnvelope`, `SOAPBody`, and `SOAPHeader` objects.
    `abstract SOAPMessage` | MessageFactory.`createMessage(MimeHeaders headers, InputStream in)` Internalizes the contents of the given `InputStream` object into a new `SOAPMessage` object and returns the `SOAPMessage` object.
    `SOAPMessage` | SOAPConnection.`get(Object to)` Gets a message from a specific endpoint and blocks until it receives,

    Methods in javax.xml.soap with parameters of type SOAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `abstract SOAPMessage` | SOAPConnection.`call(SOAPMessage request, Object to)` Sends the given message to the specified endpoint and blocks until it has returned the response.

    Constructors in javax.xml.soap with parameters of type SOAPMessage
    Constructor and Description
    `SAAJResult(SOAPMessage message)` Creates a `SAAJResult` that will write the results into the `SOAPPart` of the supplied `SOAPMessage`.

  - ### Uses of SOAPMessage in javax.xml.ws.handler.soap

    Methods in javax.xml.ws.handler.soap that return SOAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `SOAPMessage` | SOAPMessageContext.`getMessage()` Gets the `SOAPMessage` from this message context.

    Methods in javax.xml.ws.handler.soap with parameters of type SOAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | SOAPMessageContext.`setMessage(SOAPMessage message)` Sets the SOAPMessage in this message context

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, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.