Package com.helger.phase4.sender
Class AS4BidirectionalClientHelper
java.lang.Object
com.helger.phase4.sender.AS4BidirectionalClientHelper
Helper class to send and AS4 message and handle an incoming AS4 response.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidsendAS4PullRequestAndReceiveAS4UserMessage(IAS4CryptoFactory aCryptoFactory, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer) static voidsendAS4UserMessageAndReceiveAS4SignalMessage(IAS4CryptoFactory aCryptoFactory, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientUserMessage aClientUserMsg, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer)
-
Method Details
-
sendAS4UserMessageAndReceiveAS4SignalMessage
public static void sendAS4UserMessageAndReceiveAS4SignalMessage(@Nonnull IAS4CryptoFactory aCryptoFactory, @Nonnull IPModeResolver aPModeResolver, @Nonnull IAS4IncomingAttachmentFactory aIAF, @Nonnull IAS4IncomingProfileSelector aIncomingProfileSelector, @Nonnull AS4ClientUserMessage aClientUserMsg, @Nonnull Locale aLocale, @Nonnull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer) throws IOException, Phase4Exception, org.apache.wss4j.common.ext.WSSecurityException, javax.mail.MessagingException - Throws:
IOExceptionPhase4Exceptionorg.apache.wss4j.common.ext.WSSecurityExceptionjavax.mail.MessagingException
-
sendAS4PullRequestAndReceiveAS4UserMessage
public static void sendAS4PullRequestAndReceiveAS4UserMessage(@Nonnull IAS4CryptoFactory aCryptoFactory, @Nonnull IPModeResolver aPModeResolver, @Nonnull IAS4IncomingAttachmentFactory aIAF, @Nonnull IAS4IncomingProfileSelector aIncomingProfileSelector, @Nonnull AS4ClientPullRequestMessage aClientPullRequest, @Nonnull Locale aLocale, @Nonnull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4UserMessageConsumer aUserMsgConsumer) throws IOException, Phase4Exception, org.apache.wss4j.common.ext.WSSecurityException, javax.mail.MessagingException - Throws:
IOExceptionPhase4Exceptionorg.apache.wss4j.common.ext.WSSecurityExceptionjavax.mail.MessagingException
-