Interface ISServiceCaller

All Known Implementing Classes:
ISServiceCallerImpl

public interface ISServiceCaller
Service used to communicate with the IS MU.
Author:
Vojtech Sassmann
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
    static String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    call​(String requestBody, int requestId)
    Sends a request to the IS with the given body.
  • Field Details

  • Method Details

    • call

      ISResponseData call(String requestBody, int requestId) throws IOException
      Sends a request to the IS with the given body. The received response is returned, with the status code and an error (if some has occurred).
      Parameters:
      requestBody - body of the http request, that will be send (xml format)
      requestId - id of the request
      Returns:
      response data
      Throws:
      IOException - if the connection to the IS failed