public final class SoapAttachmentRequestEnricher extends AttachmentRequestEnricher
AttachmentRequestEnricher implementation to send attachments using SOAP with Attachments.introspecter, loader| Constructor and Description |
|---|
SoapAttachmentRequestEnricher(WsdlIntrospecter introspecter,
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(WsdlIntrospecter introspecter, 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–2017 MuleSoft, Inc.. All rights reserved.