public final class SoapResponseGenerator extends Object
ConsumeOperation using the CXF response.| Constructor and Description |
|---|
SoapResponseGenerator() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.Result<Object,WscAttributes> |
generate(WscConnection connection,
String operation,
Object[] response,
org.apache.cxf.message.Exchange exchange)
Generates an
Result with the out attachments and headers and the response body of the SOAP operation. |
public org.mule.runtime.extension.api.runtime.operation.Result<Object,WscAttributes> generate(WscConnection connection, String operation, Object[] response, org.apache.cxf.message.Exchange exchange)
Result with the out attachments and headers and the response body of the SOAP operation.
If there are out attachments the nodes in the response associated to them will be removed so the end user don't need to handle those nodes.
The our SOAP headers and the protocol specific headers will be retrieved in a WscAttributes as attributes in the
returned Result.
connection - the connection used to invoke the operationoperation - the name of the operation that was invokedresponse - the CXF responseexchange - the exchange used for CXF to store the headers and attachments.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.