@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> conceptList)
Execute step 1/4
|
static void |
sendResponseToToopConnector(eu.toop.commons.dataexchange.TDETOOPResponseType aResponse)
Create a response, wrap it in an ASiC and send it to DP TOOP Connector
|
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> conceptList) throws IOException
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.conceptList - list of concepts to be queriedIOException - in case of HTTP errorpublic static void sendResponseToToopConnector(@Nonnull eu.toop.commons.dataexchange.TDETOOPResponseType aResponse) throws IOException
aResponse - Response objectIOException - In case sending or the like failsCopyright © 2018 toop.eu. All rights reserved.