public class BDMSLClient
extends com.helger.wsclient.WSClientConfig
Note: this class is also licensed under Apache 2 license, as it was not part of the original implementation
| Constructor and Description |
|---|
BDMSLClient(com.helger.peppol.sml.ISMLInfo aSMLInfo) |
BDMSLClient(URL aEndpointAddress)
Constructs a service caller for the manage business identifier interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeCertificate(String sSMPID,
byte[] aNewCertificatePublicKey)
Change a certificate
|
void |
clearCache() |
void |
createParticipantIdentifier(String sSMPID,
com.helger.peppolid.IParticipantIdentifier aParticipantID,
String sServiceName) |
protected BDMSLServiceSoap |
createWSPort()
Create the main WebService client for the specified endpoint address.
|
boolean |
isAlive() |
com.helger.commons.collection.impl.ICommonsList<ParticipantListItem> |
listParticipants() |
void |
prepareChangeCertificate(String sNewCertificatePublicKey,
LocalDate aMigrationDate)
This operation allows a SMP to prepare a change of its certificate.
|
applyWSSettingsToBindingProvider, customizeRequestContext, getChunkSize, getConnectionTimeoutMS, getEndpointAddress, getHostnameVerifier, getPassword, getRequestTimeoutMS, getSOAPAction, getSSLSocketFactory, getUserName, handlers, hasChunkSize, hasConnectionTimeoutMS, hasPassword, hasRequestTimeoutMS, hasSOAPAction, hasUserName, httpHeaders, isCookiesSupportEnabled, isWorkAroundMASM0003, setChunkSize, setCompressedRequest, setCompressedResponse, setConnectionTimeoutMS, setCookiesSupportEnabled, setHostnameVerifier, setHostnameVerifierTrustAll, setHostnameVerifierTrustAll, setPassword, setRequestTimeoutMS, setSOAPAction, setSSLSocketFactory, setSSLSocketFactoryTrustAll, setSSLSocketFactoryTrustAll, setUserName, setWorkAroundMASM0003public BDMSLClient(@Nonnull com.helger.peppol.sml.ISMLInfo aSMLInfo)
@Nonnull @OverrideOnDemand @OverridingMethodsMustInvokeSuper protected BDMSLServiceSoap createWSPort()
null.public void prepareChangeCertificate(@Nonnull @Nonempty String sNewCertificatePublicKey, @Nullable LocalDate aMigrationDate) throws BadRequestFault, InternalErrorFault, NotFoundFault, UnauthorizedFault
sNewCertificatePublicKey - The new public key contained in the certificate.aMigrationDate - The migration date for the new certificate. Can't be in the past. If
the migrationDate is not empty, then the new certificate MUST be
valid at the date provided in the migrationDate element. i.e. The
migrationDate must be within validFrom and validTo dates of the new
certificate. If the migrationDate element is empty, then the "Valid
From" date is extracted from the certificate and is used as the
migrationDate. In this case, the "Not Before" date of the
certificate must be in the future.com.sun.xml.ws.client.ClientTransportException - if the WS client invocation failedBadRequestFault - In case of errorInternalErrorFault - In case of errorNotFoundFault - In case of errorUnauthorizedFault - In case of errorpublic void changeCertificate(@Nonnull String sSMPID, @Nonnull @Nonempty byte[] aNewCertificatePublicKey) throws BadRequestFault, InternalErrorFault, UnauthorizedFault
sSMPID - The SMP identifieraNewCertificatePublicKey - The new public key contained in the certificate.com.sun.xml.ws.client.ClientTransportException - if the WS client invocation failedBadRequestFault - In case of errorInternalErrorFault - In case of errorUnauthorizedFault - In case of errorpublic void createParticipantIdentifier(@Nonnull @Nonempty String sSMPID, @Nonnull com.helger.peppolid.IParticipantIdentifier aParticipantID, @Nonnull @Nonempty String sServiceName) throws BadRequestFault, InternalErrorFault, NotFoundFault, UnauthorizedFault
@Nullable public com.helger.commons.collection.impl.ICommonsList<ParticipantListItem> listParticipants() throws InternalErrorFault
InternalErrorFaultpublic boolean isAlive()
public void clearCache()
throws InternalErrorFault
InternalErrorFaultCopyright © 2015–2019 Philip Helger. All rights reserved.