Package com.helger.phase4.model.message
Interface IAS4Message
- All Known Implementing Classes:
AbstractAS4Message,AS4ErrorMessage,AS4PullRequestMessage,AS4ReceiptMessage,AS4UserMessage
public interface IAS4Message
Base interface for an AS4 message.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault DocumentCreate a SOAP document from this message without a SOAP body payload.getAsSoapDocument(Node aSoapBodyPayload) Create a SOAP document from this message with the specified optional SOAP body payload.setMustUnderstand(boolean bMustUnderstand) Set the "mustUnderstand" value depending on the used SOAP version.
-
Method Details
-
getSoapVersion
- Returns:
- The SOAP version to use. May not be
null. - Since:
- v0.9.8
-
getMessageType
- Returns:
- The type of the underlying message. Never
null.
-
getMessagingID
- Returns:
- The ID of the "Messaging" element for referencing in signing.
Should not be
null. This is NOT the AS4 Message ID.
-
setMustUnderstand
Set the "mustUnderstand" value depending on the used SOAP version.- Parameters:
bMustUnderstand-truefor must understand,falseotherwise.- Returns:
- this for chaining
-
getAsSoapDocument
Create a SOAP document from this message without a SOAP body payload.- Returns:
- The created DOM document
- Since:
- v0.9.8
- See Also:
-
getAsSoapDocument
Create a SOAP document from this message with the specified optional SOAP body payload. Attachments are not handled by this method.- Parameters:
aSoapBodyPayload- The payload to be added into the SOAP body. May benull.- Returns:
- The created DOM document.
- Since:
- v0.9.8
- See Also:
-