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() |
| Modifier and Type | Method and Description |
|---|---|
XMLStreamReader |
generate(WscConnection connection,
String operation,
String body,
Map<String,SoapAttachment> attachments)
Generates an
XMLStreamReader SOAP request ready to be consumed by CXF. |
public XMLStreamReader generate(WscConnection connection, String operation, String body, Map<String,SoapAttachment> attachments)
XMLStreamReader SOAP request ready to be consumed by CXF.connection - the connection used to send the request.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.