BeforeSendAttachment Event
Marks the start of sending an attachment.
Syntax
public class DefaultSoapclientEventListener implements SoapclientEventListener { ... public void beforeSendAttachment(SoapclientBeforeSendAttachmentEvent e) {} ... } public class SoapclientBeforeSendAttachmentEvent { public boolean lastAttachment; }
Remarks
Use either AttachmentBytes, AttachmentFile or AttachmentStream properties to pass attachment to the class.
Set LastAttachment parameter to False to indicate that you have more than one attachment to pass.