public final class SoapResponseGenerator extends Object
SoapClient.consume(SoapRequest) using the CXF response.| Constructor and Description |
|---|
SoapResponseGenerator(AttachmentResponseEnricher responseEnricher) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.soap.api.message.SoapResponse |
generate(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 SoapResponseGenerator(AttachmentResponseEnricher responseEnricher)
public org.mule.runtime.soap.api.message.SoapResponse generate(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 SoapAttributes as attributes in the
returned Result.
operation - 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.