EBMSMessageSender¶
-
public class
EBMSMessageSender
extends MessageSender¶ The
EBMSMessageSender
is a client sender sending SOAP web services request to B2BCollectorEbMS
plugin for transmission a ebMS message to other parnter. The web service parameters are defined in the below:<part name="cpaId" type="s:string" /> <part name="service" type="s:string" /> <part name="action" type="s:string" /> <part name="convId" type="s:string" /> <part name="fromPartyId" type="s:string" /> <part name="fromPartyType" type="s:string" /> <part name="toPartyId" type="s:string" /> <part name="toPartyType" type="s:string" /> <part name="refToMessageId" type="s:string" /> <part name="serviceType" type="s:string" />
Author: Twinsen Tsang See also:
hk.hku.cecid.corvus.ws.data.EBMSMessageData
,hk.hku.cecid.corvus.ws.data.EBMSPartnershipData
Constructors¶
EBMSMessageSender¶
-
public
EBMSMessageSender
(FileLogger l, EBMSMessageData m, EBMSPartnershipData p)¶ Explicit Constructor.
Parameters: - l – The logger used for log message and exception.
- m – The message data for party information and send/recv configuration.
- p – The partnership data.
Methods¶
getResponseMessageId¶
-
public String
getResponseMessageId
()¶ Get the message id of last successful web service query. This should be called only after
onResponse()
Returns: the message id
initializeMessage¶
-
public void
initializeMessage
()¶ Initialize the message using the properties in the MessageProps.