Package com.helger.phase4.model.message
Class AS4ErrorMessage
java.lang.Object
com.helger.phase4.model.message.AbstractAS4Message<AS4ErrorMessage>
com.helger.phase4.model.message.AS4ErrorMessage
- All Implemented Interfaces:
com.helger.base.trait.IGenericImplTrait<AS4ErrorMessage>,IAS4Message
AS4 error message.
An Error does not have to be associated with a P-Mode when it is synchronously send back. Only when Errors need to be send async a P-Mode is needed to find the URL where to send to.
Errors do not need to be signed, just because problems like these can occur where a gateway doesn't know how to sign.
An Error does not have to be associated with a P-Mode when it is synchronously send back. Only when Errors need to be send async a P-Mode is needed to find the URL where to send to.
Errors do not need to be signed, just because problems like these can occur where a gateway doesn't know how to sign.
- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.phase4.model.message.AbstractAS4Message
DOMIBUS_XSD_DATE_TIME, m_aMessaging -
Constructor Summary
ConstructorsConstructorDescriptionAS4ErrorMessage(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3SignalMessage aSignalMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull AS4ErrorMessagecreate(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3MessageInfo aEbms3MessageInfo, @NonNull com.helger.collection.commons.ICommonsList<Ebms3Error> aErrorMessages) static @NonNull AS4ErrorMessagecreate(@NonNull ESoapVersion eSoapVersion, @Nullable String sRefToMessageID, @NonNull com.helger.collection.commons.ICommonsList<Ebms3Error> aErrorMessages) 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
-
AS4ErrorMessage
public AS4ErrorMessage(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3SignalMessage aSignalMessage)
-
-
Method Details
-
getEbms3SignalMessage
- Returns:
- The
Ebms3SignalMessagepassed in the constructor. Nevernull.
-
create
public static @NonNull AS4ErrorMessage create(@NonNull ESoapVersion eSoapVersion, @Nullable String sRefToMessageID, @NonNull com.helger.collection.commons.ICommonsList<Ebms3Error> aErrorMessages) -
create
public static @NonNull AS4ErrorMessage create(@NonNull ESoapVersion eSoapVersion, @NonNull Ebms3MessageInfo aEbms3MessageInfo, @NonNull com.helger.collection.commons.ICommonsList<Ebms3Error> aErrorMessages)
-