Module for AS4 Version 10.1.May 2019 | Understanding and Using webMethods AS4 Module | Installing and Using AS4 Module | Built-In Services | Summary of Elements for the WmAS4 Package | wm.ip.estd.as4.peppol:addPartnerOrUpdateCertificate
 
wm.ip.estd.as4.peppol:addPartnerOrUpdateCertificate
Creates the recipient partner profile in Trading Networks with the certificate of the recipient. Partner name is created with corporation as the CNAME of the certificate and the organisation unit as Peppol participant identifier. Also, the externalID value is the format CNAME(ParticipantID) and configured under IDType urn:FDC:peppol.eu:2017:identifiers:ap in the corresponding partner profile. For example: POP000143(0151:79000024733). The certificate is configured for encrypt/decrypt and sign/verify in the corresponding profile. If the partner already exists in Trading Networks, the certificate is updated in the corresponding Trading Networks partner profile by default.
The caCertificateChain input field is optional. Depending on the participant certificate passed as input, the corresponding root, and intermediate certificates provided by Peppol is used by default as it varies based on production or test environment.
Input Parameters
participantID
String. Peppol participant identifier. For example 9915:test
certificate
String. A byte array that represents the signing X509 certificate (a java.security.cert.X509Certificate) of the recipient access point.
caCertificateChain
String. Optional. A byte array that represents the X509 certificate (a java.security.cert.X509Certificate) of the issuer of the certificate.
forceUpdateCertificate
Boolean. Optional. Indicates whether to update the certificate in the Trading Networks partner profile. Default is true.
Output Parameters
toPartyId
String. PartyId of the recipient partner.
partnerId
String. InternalID of the recipient Trading Networks partner profile.
errors
String. Specifies an error message while processing a document.