Uses of Class
com.helger.phase4.client.AS4ClientUserMessage
Packages that use AS4ClientUserMessage
-
Uses of AS4ClientUserMessage in com.helger.phase4.client
Methods in com.helger.phase4.client that return AS4ClientUserMessageModifier and TypeMethodDescriptionfinal @NonNull AS4ClientUserMessageAS4ClientUserMessage.addAttachment(@NonNull WSS4JAttachment aAttachment) Adds a file as attachment to the message.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.addAttachment(@NonNull File aAttachment, @NonNull com.helger.mime.IMimeType aMimeType, @Nullable EAS4CompressionMode eAS4CompressionMode) Adds a file as attachment to the message.final @NonNull AS4ClientUserMessageThe element is a string identifying an operation or an activity within a Service that may support several of these.
Example of what will be written in the user message:<eb:Action>NewPurchaseOrder</eb:Action>
This is MANDATORY.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setAgreementRefValue(@Nullable String sAgreementRefValue) The AgreementRef element is a string that identifies the entity or artifact governing the exchange of messages between the parties.
Example of what will be written in the user message:<eb:AgreementRef pmode= "pm-esens-generic-resp">http://agreements.holodeckb2b.org/examples/agreement0</eb:AgreementRef>
This is MANDATORY.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setAgreementTypeValue(@Nullable String sAgreementTypeValue) Set the value of theeb:AgreementRef/@typeattribute.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setConversationID(@Nullable String sConversationID) The element is a string identifying the set of related messages that make up a conversation between Parties.
Example of what will be written in the user message:<eb:ConversationId>4321</eb:ConversationId>
This is MANDATORY.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setForceMimeMessage(boolean bForceMimeMessage) Enable the enforcement of packaging the AS4 user message in a MIME message.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setFromPartyID(@Nullable String sFromPartyID) The PartyID is an ID that identifies the C2 over which the message gets sent.
Example of what will be written in the user message:<eb:PartyId>ImAPartyID</eb:PartyId>
This is MANDATORY.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setFromPartyIDType(@Nullable String sFromPartyIDType) The PartyID is an ID that identifies the C2 over which the message gets sent.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setFromRole(@Nullable String sFromRole) The value of the Role element is a non-empty string, with a default value ofhttp://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/defaultRole.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setPayload(@Nullable Node aPayload) Sets the payload for a usermessage.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setPModeID(@Nullable String sPModeID) final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setPModeIDFactory(@NonNull Function<AS4ClientUserMessage, String> aPModeIDFactory) final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setServiceType(@Nullable String sServiceType) It is a string identifying the service type of the service specified in service value.
Example of what will be written in the user message:<eb:Service type= "MyServiceTypes">QuoteToCollect</eb:Service>final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setServiceValue(@Nullable String sServiceValue) It is a string identifying the service that acts on the message 1639 and it is specified by the designer of the service.
Example of what will be written in the user message:<eb:Service type="MyServiceTypes">QuoteToCollect</eb:Service>
This is MANDATORY.final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setToPartyID(@Nullable String sToPartyID) * @see #setFromPartyID(String)final @NonNull AS4ClientUserMessageAS4ClientUserMessage.setToPartyIDType(@Nullable String sToPartyIDType) * @see #setFromPartyIDType(String)final @NonNull AS4ClientUserMessagefinal @NonNull AS4ClientUserMessageAS4ClientUserMessage.setUseLeg1(boolean bUseLeg1) DEFAULT is set totrue, if you want to use leg2 for the message setfalse.Methods in com.helger.phase4.client that return types with arguments of type AS4ClientUserMessageModifier and TypeMethodDescriptionfinal @NonNull Function<AS4ClientUserMessage, String> AS4ClientUserMessage.getPModeIDFactory()Method parameters in com.helger.phase4.client with type arguments of type AS4ClientUserMessageModifier and TypeMethodDescriptionfinal @NonNull AS4ClientUserMessageAS4ClientUserMessage.setPModeIDFactory(@NonNull Function<AS4ClientUserMessage, String> aPModeIDFactory) -
Uses of AS4ClientUserMessage in com.helger.phase4.sender
Methods in com.helger.phase4.sender with parameters of type AS4ClientUserMessageModifier and TypeMethodDescriptionprotected voidAbstractAS4UserMessageBuilder.applyToUserMessage(@NonNull AS4ClientUserMessage aUserMsg) This method applies all builder parameters onto the user message, except the attachments.static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver 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, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aRawResponseConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer, @Nullable IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler)