Package com.helger.phase4.model.message
Class AS4ReceiptMessage
java.lang.Object
com.helger.phase4.model.message.AbstractAS4Message<AS4ReceiptMessage>
com.helger.phase4.model.message.AS4ReceiptMessage
- All Implemented Interfaces:
com.helger.base.trait.IGenericImplTrait<AS4ReceiptMessage>,IAS4Message
AS4 receipt message
- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.phase4.model.message.AbstractAS4Message
DOMIBUS_XSD_DATE_TIME, m_aMessaging -
Constructor Summary
ConstructorsConstructorDescriptionAS4ReceiptMessage(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3SignalMessage aSignalMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull AS4ReceiptMessagecreate(@NonNull ESoapVersion eSoapVersion, @NonNull @Nonempty String sMessageID, @Nullable Ebms3UserMessage aEbms3UserMessageToRespond, @Nullable Node aSoapDocument, boolean bShouldUseNonRepudiation, @Nullable String sRefToMessageID) This method creates a receipt message.final @NonNull Ebms3SignalMessageMethods inherited from class com.helger.phase4.model.message.AbstractAS4Message
getAsSoapDocument, getMessageType, getMessagingID, getSoapVersion, setMustUnderstand, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.phase4.model.message.IAS4Message
getAsSoapDocumentMethods inherited from interface com.helger.base.trait.IGenericImplTrait
thisAsT
-
Constructor Details
-
AS4ReceiptMessage
public AS4ReceiptMessage(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3SignalMessage aSignalMessage)
-
-
Method Details
-
getEbms3SignalMessage
- Returns:
- The
Ebms3SignalMessagepassed in the constructor. Nevernull.
-
create
public static @NonNull AS4ReceiptMessage create(@NonNull ESoapVersion eSoapVersion, @Nonempty @NonNull @Nonempty String sMessageID, @Nullable Ebms3UserMessage aEbms3UserMessageToRespond, @Nullable Node aSoapDocument, boolean bShouldUseNonRepudiation, @Nullable String sRefToMessageID) This method creates a receipt message.- Parameters:
eSoapVersion- SOAP Version which should be usedsMessageID- Message ID to use. May neither benullnor empty.aEbms3UserMessageToRespond- The received usermessage which should be responded too. May benull.aSoapDocument- If the SOAPDocument has WSS4j elements and the following parameter is true NonRepudiation will be used if the message is signedbShouldUseNonRepudiation- If NonRepudiation should be used or notsRefToMessageID- The reference to the original message, if no UserMessage to respond is provided. May benull. Since v3.0.0- Returns:
- AS4ReceiptMessage
-