Class SOAPConnectionImpl

java.lang.Object
jakarta.xml.soap.SOAPConnection
org.jboss.wsf.stack.cxf.saaj.SOAPConnectionImpl
All Implemented Interfaces:
AutoCloseable

public class SOAPConnectionImpl extends SOAPConnection
  • Constructor Details

    • SOAPConnectionImpl

      public SOAPConnectionImpl()
  • Method Details

    • call

      public SOAPMessage call(SOAPMessage msgOut, Object addressObject) throws SOAPException
      Description copied from class: SOAPConnection
      Sends the given message to the specified endpoint and blocks until it has returned the response.
      Specified by:
      call in class SOAPConnection
      Parameters:
      msgOut - the SOAPMessage object to be sent
      addressObject - an Object that identifies where the message should be sent. It is required to support Objects of type java.lang.String and java.net.URL
      Returns:
      the SOAPMessage object that is the response to the message that was sent
      Throws:
      SOAPException - if there is a SOAP error
    • get

      public SOAPMessage get(Object addressObject) throws SOAPException
      Description copied from class: SOAPConnection
      Gets a message from a specific endpoint and blocks until it receives,
      Overrides:
      get in class SOAPConnection
      Parameters:
      addressObject - an Object that identifies where the request should be sent. Objects of type java.lang.String and java.net.URL must be supported.
      Returns:
      the SOAPMessage object that is the response to the get message request
      Throws:
      SOAPException - if there is a SOAP error
    • close

      public void close() throws SOAPException
      Description copied from class: SOAPConnection
      Closes this SOAPConnection object.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class SOAPConnection
      Throws:
      SOAPException - if there is a SOAP error