def read_response(session_id, request_message_id)
      validate_presence_of session_id, 'Session Id'
      validate_presence_of request_message_id, 'Request Message Id'

      message = { 'SessionID' => session_id, 'RequestMessageID' => request_message_id }
      response = @client.call(:read_response, message: message)

      extract_message(response)
    end
def read_response(session_id, request_message_id)
      validate_presence_of session_id, 'Session Id'
      validate_presence_of request_message_id, 'Request Message Id'

      message = { 'SessionID' => session_id, 'RequestMessageID' => request_message_id }
      response = @client.call(:read_response, message: message)

      extract_message(response)
    end
Returns the first response message, if any, in the message queue
 associated with the request.

 @param session_id [String] the session id
 @param request_message_id [String] the id of the original request message
 @return [Message] the first message in the queue for the session.
   nil if no message.
 @raise [ArgumentError] if session_id or request_message_id are blank