Interface MagdaConnection
public interface MagdaConnection
A document-level interface for exchanging request documents for response documents.
-
Method Summary
Modifier and TypeMethodDescriptionsendDocument
(Document xml) Sends a request document and a receives an according response document.
-
Method Details
-
sendDocument
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.
-