public final class SoapRequestGenerator extends Object
If no body is provided will try to generate a default one.
for each attachment will add a node with the required information depending on the protocol that it's being used.
| Constructor and Description |
|---|
SoapRequestGenerator(AttachmentRequestEnricher requestEnricher,
WsdlDefinition definition,
org.mule.metadata.xml.XmlTypeLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
XMLStreamReader |
generate(String operation,
String body,
Map<String,org.mule.runtime.extension.api.soap.SoapAttachment> attachments)
Generates an
XMLStreamReader SOAP request ready to be consumed by CXF. |
public SoapRequestGenerator(AttachmentRequestEnricher requestEnricher, WsdlDefinition definition, org.mule.metadata.xml.XmlTypeLoader loader)
public XMLStreamReader generate(String operation, String body, Map<String,org.mule.runtime.extension.api.soap.SoapAttachment> attachments)
XMLStreamReader SOAP request ready to be consumed by CXF.operation - the name of the operation being invoked.body - the body content provided by the user.attachments - the attachments provided by the user.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.