SMP e SML
Metadati di servizio e discovery spiegati.
Resolution algorithm your Access Point performs for every send:
- Hash the participant ID (lowercase,
{scheme}::{id}) and build the SML DNS name:{hash}.{scheme}.{sml-zone}. - DNS lookup returns the SMP’s hostname (CNAME/NAPTR per spec version).
- Fetch SMP metadata —
GET /{participantId}/serviceslists supported document types; per document type, the endpoint URL, certificate and process ID. - Deliver over AS4 to the endpoint, encrypting for the listed certificate.
Practical gotchas: URL-encode participant IDs correctly (:: separators),
respect the signed SMP responses (verify against the Peppol PKI), and cache
with care — endpoints change when companies switch providers, so long caches
break deliveries. The Peppol ID lookup tool on
this site performs exactly these steps and shows the raw results.