## 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 | 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 | 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 | 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 | 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 | Description
    --- | --- | ---
    `void` | SOAPMessageContext.`setMessage​(SOAPMessage message)` | Sets the SOAPMessage in this message context