[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [ebxml-msg] Interpretation of PMode.ID
Pim: Reading in the history I see that on March 2011 it was made “required” in AS4: “2.1.3.1 and 2.2.3.1: made support "required" for PMode.ID and PMode.agreement (meaning an implementation must be able to use this Pmode value - if present - to fill-in the related message header element.)” So I think your interpretation is overall right: “My interpretation (from the spec and discussions) is that, "support by an MSH" means that the MSH can have PModes with an ID, and if a PMode has an "ID", the "support by an MSH" means that the sending MSH MUST include it with outgoing messages, and a receiving MSH MUST use it to retrieve a specific configuration. So the required support in AS4 would requires the ability to attach an identifier to a PMode.” Although I would reword it as: “…the "support by an MSH" means that the sending MSH MAY include it with outgoing messages, and a receiving MSH MUST be able to use it to retrieve a specific configuration. “ “2) If a sender does not include an ID in a message, should the receiving MSH match it against PModes that do not have an ID only, or to all PModes (some that have, and some that do not have a PMode ID) ? “ I would say against all PModes available. The Receiver should just ignore the PMode.ID feature in that case. Core spec says “If the ID is specified, the AgreementRef/@pmode attribute value is also expected to be set in associated messages.” but it is just a convenience – not a strong requirement. I think it makes sense to return an error in that case, because if the PMode on Sender side has an ID, it should also have one on Receiver side. Or at least just a warning, if matching works with a PMode without ID. -jacques From: ebxml-msg@lists.oasis-open.org [mailto:ebxml-msg@lists.oasis-open.org] On Behalf Of Pim van der Eijk
According to [CORE] Appendix D 3.1 "[The PMode ID] may be absent if the P-Mode is identified by other means, e.g. embedded in a larger structure that is itself identified, or has parameter values distinct from other P-Modes used on the same MSH. If the ID is specified, the AgreementRef/@pmode attribute value is also expected to be set in associated messages." [AS4] 2.2.3.1 makes support for PMode.ID required. How does that work with the situation above where the PMode is embeded in a larger structure? What does a MSH have to do to support Pmode.ID?
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]