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) |
| Modifier and Type | Method and Description |
|---|---|
XMLStreamReader |
generate(String operation,
InputStream body,
String encoding,
Map<String,SoapAttachment> attachments)
Generates an
XMLStreamReader SOAP request ready to be consumed by CXF. |
public SoapRequestGenerator(AttachmentRequestEnricher requestEnricher, org.mule.wsdl.parser.model.PortModel port)
public XMLStreamReader generate(String operation, InputStream body, String encoding, Map<String,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 © 2020. All rights reserved.