public abstract class AttachmentRequestEnricher extends Object
| Constructor and Description |
|---|
AttachmentRequestEnricher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addAttachmentElement(Document bodyDocument,
SoapAttachment soapAttachment,
Element attachmentElement)
Adds the content to the attachment node recently created to the XML SOAP request
|
String |
enrichRequest(String body,
Map<String,SoapAttachment> attachments) |
public String enrichRequest(String body, Map<String,SoapAttachment> attachments)
body - the XML SOAP body provided by the user.attachments - the attachments to upload.protected abstract void addAttachmentElement(Document bodyDocument, SoapAttachment soapAttachment, Element attachmentElement)
bodyDocument - the document where we are adding the node element.soapAttachment - the attachment to be sent.attachmentElement - the recently created attachment node in the xml request.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.