Question
Hello, I am looking into creating an AS4 supporting Acces Point for PEPPOL. Part of the AS4 communicaton is providing a PMode for the configuration of the message-exchange. Where should the PMode be implemented? Should it be in the SMP? What would be a good architecture for this solution?
Author: Marco DE TIEGE
Answer
The P-Mode is not in SMP, it is in Access Point but only those P-Mode attributes that are not considered "fixed" from the e-SENS Profile goes in SMP. The following table shows the mapping of the attributes mapping from the Service Metadata to the P-Mode (Taken from the e-SENS SMP Implementation Guidelines).
Service Metadata | P-Mode Attribute |
---|---|
ServiceMetadata/ServiceInformation/DocumentIdentifier | PMode[1].BusinessInfo.Action |
ServiceInformation/Processlist/Process/ProcessIdentifier | PMode[1].BusinessInfo.Service |
ServiceInformation/Processlist/Process/ProcessIdentifier/@scheme | PMode[1].BusinessInfo.Service/@Type |
ServiceInformation/Processlist/Process/ServiceEndpointList/Endpoint/EndpointReference/Address | PMode[].Protocol.Address |