public final class SoapAttachmentRequestEnricher extends AttachmentRequestEnricher
AttachmentRequestEnricher implementation to send attachments using SOAP with Attachments.loader| Constructor and Description |
|---|
SoapAttachmentRequestEnricher(org.mule.metadata.api.TypeLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttachmentElement(Document bodyDocument,
String name,
org.mule.runtime.extension.api.soap.SoapAttachment attachment,
Element attachmentElement)
Adds the content to the attachment node recently created to the XML SOAP request
|
enrichRequestpublic SoapAttachmentRequestEnricher(org.mule.metadata.api.TypeLoader loader)
protected void addAttachmentElement(Document bodyDocument, String name, org.mule.runtime.extension.api.soap.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 © 2003–2018 MuleSoft, Inc.. All rights reserved.