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 AS4ClientUserMessageAS4ClientUserMessage.addAttachment(WSS4JAttachment aAttachment) Adds a file as attachment to the message.final AS4ClientUserMessageAS4ClientUserMessage.addAttachment(File aAttachment, com.helger.commons.mime.IMimeType aMimeType, EAS4CompressionMode eAS4CompressionMode) Adds a file as attachment to the message.final 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 AS4ClientUserMessageAS4ClientUserMessage.setAgreementRefValue(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 AS4ClientUserMessageAS4ClientUserMessage.setAgreementTypeValue(String sAgreementTypeValue) Set the value of theeb:AgreementRef/@typeattribute.final AS4ClientUserMessageAS4ClientUserMessage.setConversationID(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 AS4ClientUserMessageAS4ClientUserMessage.setForceMimeMessage(boolean bForceMimeMessage) Enable the enforcement of packaging the AS4 user message in a MIME message.final AS4ClientUserMessageAS4ClientUserMessage.setFromPartyID(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 AS4ClientUserMessageAS4ClientUserMessage.setFromPartyIDType(String sFromPartyIDType) The PartyID is an ID that identifies the C2 over which the message gets sent.final AS4ClientUserMessageAS4ClientUserMessage.setFromRole(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 AS4ClientUserMessageAS4ClientUserMessage.setPayload(Node aPayload) Sets the payload for a usermessage.final AS4ClientUserMessageAS4ClientUserMessage.setPModeID(String sPModeID) final AS4ClientUserMessageAS4ClientUserMessage.setPModeIDFactory(Function<AS4ClientUserMessage, String> aPModeIDFactory) final AS4ClientUserMessageAS4ClientUserMessage.setServiceType(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 AS4ClientUserMessageAS4ClientUserMessage.setServiceValue(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 AS4ClientUserMessageAS4ClientUserMessage.setToPartyID(String sToPartyID) * @see #setFromPartyID(String)final AS4ClientUserMessageAS4ClientUserMessage.setToPartyIDType(String sToPartyIDType) * @see #setFromPartyIDType(String)final AS4ClientUserMessagefinal 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 Function<AS4ClientUserMessage, String> AS4ClientUserMessage.getPModeIDFactory()Method parameters in com.helger.phase4.client with type arguments of type AS4ClientUserMessageModifier and TypeMethodDescriptionfinal AS4ClientUserMessageAS4ClientUserMessage.setPModeIDFactory(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(AS4ClientUserMessage aUserMsg) This method applies all builder parameters onto the user message, except the attachments.static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientUserMessage aClientUserMsg, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aRawResponseConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer, IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler)