Interface MagdaConnection


public interface MagdaConnection
A document-level interface for exchanging request documents for response documents.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sends a request document and a receives an according response document.
  • Method Details

    • sendDocument

      Document sendDocument(Document xml) throws MagdaConnectionException
      Sends a request document and a receives an according response document.
      Parameters:
      xml - the request document.
      Returns:
      the response document.
      Throws:
      MagdaConnectionException - when the connection to the MAGDA server that handles the request fails.