SMP a SML

Servisné metadáta a discovery zrozumiteľne.

Resolution algorithm your Access Point performs for every send:

  1. Hash the participant ID (lowercase, {scheme}::{id}) and build the SML DNS name: {hash}.{scheme}.{sml-zone}.
  2. DNS lookup returns the SMP’s hostname (CNAME/NAPTR per spec version).
  3. Fetch SMP metadataGET /{participantId}/services lists supported document types; per document type, the endpoint URL, certificate and process ID.
  4. 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.