@ThreadSafe public final class ToopInterfaceClient extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
createRequestAndSendToToopConnector(eu.toop.commons.dataexchange.TDEDataRequestSubjectType aRequestSubject,
oasis.names.specification.ubl.schema.xsd.unqualifieddatatypes_21.IdentifierType aSenderParticipantID,
String sDestCountryCode,
eu.toop.commons.codelist.EPredefinedDocumentTypeIdentifier eDocumentTypeID,
eu.toop.commons.codelist.EPredefinedProcessIdentifier eProcessID,
List<? extends eu.toop.commons.concept.ConceptValue> aConceptList)
Deprecated.
|
static void |
sendRequestToToopConnector(eu.toop.commons.dataexchange.TDETOOPRequestType aRequest)
Create a request, wrap it in an ASiC and send it to DP TOOP Connector
|
static void |
sendResponseToToopConnector(eu.toop.commons.dataexchange.TDETOOPResponseType aResponse)
Create a response, wrap it in an ASiC and send it to DP TOOP Connector
|
@Deprecated public static void createRequestAndSendToToopConnector(@Nonnull eu.toop.commons.dataexchange.TDEDataRequestSubjectType aRequestSubject, @Nonnull @Nonempty oasis.names.specification.ubl.schema.xsd.unqualifieddatatypes_21.IdentifierType aSenderParticipantID, @Nonnull @Nonempty String sDestCountryCode, @Nonnull eu.toop.commons.codelist.EPredefinedDocumentTypeIdentifier eDocumentTypeID, @Nonnull eu.toop.commons.codelist.EPredefinedProcessIdentifier eProcessID, @Nullable List<? extends eu.toop.commons.concept.ConceptValue> aConceptList) throws IOException, eu.toop.commons.error.ToopErrorException
aRequestSubject - Data request subject. May not be null.aSenderParticipantID - Participant ID of the sender as used by R2D2. May not be
null.sDestCountryCode - Destination country code ID (as in "SE"). May not be
null.eDocumentTypeID - Document type ID to request. May not be null.eProcessID - Process ID to request. May not be null.aConceptList - list of concepts to be queriedIOException - in case of HTTP erroreu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendRequestToToopConnector(@Nonnull eu.toop.commons.dataexchange.TDETOOPRequestType aRequest) throws IOException, eu.toop.commons.error.ToopErrorException
aRequest - Request objectIOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendResponseToToopConnector(@Nonnull eu.toop.commons.dataexchange.TDETOOPResponseType aResponse) throws IOException, eu.toop.commons.error.ToopErrorException
aResponse - Response objectIOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorsCopyright © 2018 toop.eu. All rights reserved.