Class AbstractSoapClient

    • Constructor Detail

      • AbstractSoapClient

        protected AbstractSoapClient​(String name)
    • Method Detail

      • invoke

        public abstract void invoke​(ISoapRequest request,
                                    ISoapResponseHandler handler)
                             throws IOException
        Description copied from interface: ISoapConnection
        Send an xml request to a SOAP endpoint by providing the header and body elements. This method will create a soap 1.1 envelope with the provided elements and sends it to the soap endpoint.
        Specified by:
        invoke in interface ISoapConnection
        Parameters:
        request - The soap request responsible for creating the request, may not be null.
        handler - The handler that is used when the connection handles the response.
        Throws:
        IOException - When an error occurs connecting to SOAP endpoint.
      • getName

        public String getName()
        Description copied from interface: IConnection
        This method returns the name of the connection object. The name is used to uniquely identify the connection object.
        Specified by:
        getName in interface IConnection
        Returns:
        the name of the connection object.
      • getType

        public ConnectionType getType()
        Description copied from interface: IConnection
        This method returns the type of the connection object.
        Specified by:
        getType in interface IConnection
        Returns:
        the type of the connection object.