@ThreadSafe public final class ToopInterfaceClient extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
createRequestAndSendToToopConnector(eu.toop.commons.dataexchange.v140.TDEDataRequestSubjectType aRequestSubject,
String sDCCountryCode,
String sDPCountryCode,
oasis.names.specification.ubl.schema.xsd.unqualifieddatatypes_21.IdentifierType aSenderParticipantID,
eu.toop.commons.codelist.EPredefinedDocumentTypeIdentifier eDocumentTypeID,
eu.toop.commons.codelist.EPredefinedProcessIdentifier eProcessID,
List<? extends eu.toop.commons.concept.ConceptValue> aConceptList)
Deprecated.
|
static com.helger.pd.searchapi.v1.ResultListType |
searchDataProvider(String sCountryCode,
String sDocTypeStr) |
static void |
sendRequestToToopConnector(eu.toop.commons.dataexchange.v140.TDETOOPRequestType aRequest)
Create a request, wrap it in an ASiC and send it to DP TOOP Connector,
using the configured connector URL.
|
static void |
sendRequestToToopConnector(eu.toop.commons.dataexchange.v140.TDETOOPRequestType aRequest,
String sTargetURL)
Create a request, wrap it in an ASiC and send it to DP TOOP Connector,
using the provided URL.
|
static void |
sendResponseToToopConnector(eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse,
com.helger.commons.collection.impl.ICommonsList<eu.toop.commons.exchange.AsicWriteEntry> aWriteAttachments)
Create a response, wrap it in an ASiC and send it to DP TOOP Connector,
using the configured connector URL.
|
static void |
sendResponseToToopConnector(eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse,
com.helger.commons.collection.impl.ICommonsList<eu.toop.commons.exchange.AsicWriteEntry> aWriteAttachments,
String sTargetURL)
Create a response, wrap it in an ASiC and send it to DP TOOP Connector,
using the provided URL.
|
static void |
sendResponseToToopConnector(eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse,
String sTargetURL,
Iterable<? extends eu.toop.commons.exchange.AsicWriteEntry> aAttachments) |
@Deprecated public static void createRequestAndSendToToopConnector(@Nonnull eu.toop.commons.dataexchange.v140.TDEDataRequestSubjectType aRequestSubject, @Nonnull String sDCCountryCode, @Nonnull String sDPCountryCode, @Nonnull @Nonempty oasis.names.specification.ubl.schema.xsd.unqualifieddatatypes_21.IdentifierType aSenderParticipantID, @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.sDCCountryCode - DC country code as e.g. "SE"sDPCountryCode - DP country code as e.g. "SE"aSenderParticipantID - Participant ID of the sender as used by R2D2. 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.v140.TDETOOPRequestType aRequest) throws IOException, eu.toop.commons.error.ToopErrorException
aRequest - Request object. May not be null.IOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendRequestToToopConnector(@Nonnull eu.toop.commons.dataexchange.v140.TDETOOPRequestType aRequest, @Nonnull String sTargetURL) throws IOException, eu.toop.commons.error.ToopErrorException
aRequest - Request object. May not be null.sTargetURL - Target URL. May not be null.IOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendResponseToToopConnector(@Nonnull eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse, @Nonnull com.helger.commons.collection.impl.ICommonsList<eu.toop.commons.exchange.AsicWriteEntry> aWriteAttachments) throws IOException, eu.toop.commons.error.ToopErrorException
aResponse - Response object. May not be null.IOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendResponseToToopConnector(@Nonnull eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse, @Nonnull com.helger.commons.collection.impl.ICommonsList<eu.toop.commons.exchange.AsicWriteEntry> aWriteAttachments, @Nonnull String sTargetURL) throws IOException, eu.toop.commons.error.ToopErrorException
aResponse - Response object. May not be null.sTargetURL - Target URL. May not be null.IOException - In case sending or the like failseu.toop.commons.error.ToopErrorException - For known TOOP errorspublic static void sendResponseToToopConnector(@Nonnull eu.toop.commons.dataexchange.v140.TDETOOPResponseType aResponse, @Nonnull String sTargetURL, @Nullable Iterable<? extends eu.toop.commons.exchange.AsicWriteEntry> aAttachments) throws IOException, eu.toop.commons.error.ToopErrorException
IOExceptioneu.toop.commons.error.ToopErrorExceptionCopyright © 2018–2019 toop.eu. All rights reserved.