HeaderValidator¶
-
public class
HeaderValidator
¶ Class for validating the header of an ebXML message.
EbxmlValidationException
will be thrown in case of error.Author: Frankie Lam
Methods¶
validate¶
-
public void
validate
(EbxmlMessage ebxmlMessage)¶ Validate the header of an ebXML message.
Parameters: - ebxmlMessage – The header of the
EbxmlMessage
object to be validated.
- ebxmlMessage – The header of the
validatePartyId¶
validatePayload¶
-
protected void
validatePayload
(EbxmlMessage ebxmlMessage)¶ Validate payload. The following checks are applied: - All payload references with “cid:” as the prefix must exist. - All payload references must be a valid URI.