BeforeReceiveAttachment Event
Marks the start of receiving an attachment.
Syntax
public class DefaultSoapclientEventListener implements SoapclientEventListener { ... public void beforeReceiveAttachment(SoapclientBeforeReceiveAttachmentEvent e) {} ... } public class SoapclientBeforeReceiveAttachmentEvent { }
Remarks
This event fires for every new attachment being received from the service.
Tune up OutputAttachmentBytes, OutputAttachmentFile or OutputAttachmentStream properties inside the event handler to indicate where the attachment content should be saved.