use of com.helger.http.basicauth.BasicAuthClientCredentials in project peppol-commons by phax.
the class MainSMPServiceRegistrationDelete method main.
public static void main(final String[] args) throws Exception {
final URI SMP_URI = MockSMPClientConfig.getSMPURI();
final BasicAuthClientCredentials SMP_CREDENTIALS = MockSMPClientConfig.getSMPCredentials();
final IParticipantIdentifier PARTICIPANT_ID = MockSMPClientConfig.getParticipantID();
final IDocumentTypeIdentifier DOCUMENT_ID = MockSMPClientConfig.getDocumentTypeID();
// The main SMP client
final SMPClient aClient = new SMPClient(SMP_URI);
aClient.deleteServiceRegistration(PARTICIPANT_ID, DOCUMENT_ID, SMP_CREDENTIALS);
LOGGER.info("Done");
}
Aggregations