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,
org.mule.wsdl.parser.model.PortModel port,
org.mule.metadata.api.TypeLoader 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, org.mule.wsdl.parser.model.PortModel port, org.mule.metadata.api.TypeLoader 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–2018 MuleSoft, Inc.. All rights reserved.