public final class SoapAttachmentRequestEnricher extends AttachmentRequestEnricher
AttachmentRequestEnricher implementation to send attachments using SOAP with Attachments.| Constructor and Description |
|---|
SoapAttachmentRequestEnricher() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttachmentElement(Document bodyDocument,
String name,
SoapAttachment attachment,
Element attachmentElement)
Adds the content to the attachment node recently created to the XML SOAP request
|
enrichRequestprotected void addAttachmentElement(Document bodyDocument, String name, SoapAttachment attachment, Element attachmentElement)
Adds the attachment content encoded to Base64 plain in the XML Request in the generated attachment node.
bodyDocument - the document where we are adding the node element.attachment - the attachment to be sent.attachmentElement - the recently created attachment node in the xml request.Copyright © 2019. All rights reserved.