Interface ISoapResponseHandler

All Known Implementing Classes:
SoapResponseXmlParser

public interface ISoapResponseHandler
This interface describes a handler that handles a soap response.
Since:
9.0
Author:
Jon van Leuven
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleError(String errorMessage, InputStream response)
    This method is called by the ISoapConnection.invoke method and receives the error stream.
    void
    This method is called by the ISoapConnection.invoke method and receives the response stream.
  • Method Details

    • handleResponse

      void handleResponse(InputStream response) throws IOException
      This method is called by the ISoapConnection.invoke method and receives the response stream.
      Parameters:
      response - The response stream of the handled response, may be null.
      Throws:
      IOException - This exception should be thrown when the response could not be handled properly.
    • handleError

      void handleError(String errorMessage, InputStream response) throws IOException
      This method is called by the ISoapConnection.invoke method and receives the error stream.
      Parameters:
      errorMessage - The error message.
      response - The response stream of the handled response, may be null.
      Throws:
      IOException - This exception should be thrown when the response could not be handled properly.