public abstract class AbstractSoapCxfClient extends Object implements SoapClient
SoapClient implementation for clients that works on top of CXF.| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_DISPATCHER |
static String |
MULE_ATTACHMENTS_KEY |
static String |
MULE_HEADERS_KEY |
static String |
MULE_SOAP_ACTION |
static String |
MULE_SOAP_OPERATION_STYLE |
static String |
MULE_TRANSPORT_ADDITIONAL_DATA_KEY |
static String |
MULE_TRANSPORT_HEADERS_KEY |
static String |
MULE_WSC_ADDRESS |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperations(Map<String,org.mule.wsdl.parser.model.operation.OperationModel> operations) |
protected abstract Map<String,org.apache.cxf.message.Attachment> |
buildCxfAttachments(Map<String,SoapAttachment> attachments) |
SoapResponse |
consume(SoapRequest request,
TransportDispatcher dispatcher)
Sends a
SoapRequest blocking the current thread until a response is available or the request times out. |
void |
destroy()
Shuts down the client and all resources that is holding.
|
SoapResponse |
parseResponse(String operation,
TransportResponse transportResponse)
Generates a
SoapResponse from a TransportResponse |
public static final String MESSAGE_DISPATCHER
public static final String MULE_ATTACHMENTS_KEY
public static final String MULE_WSC_ADDRESS
public static final String MULE_HEADERS_KEY
public static final String MULE_TRANSPORT_HEADERS_KEY
public static final String MULE_TRANSPORT_ADDITIONAL_DATA_KEY
public static final String MULE_SOAP_ACTION
public static final String MULE_SOAP_OPERATION_STYLE
public SoapResponse consume(SoapRequest request, TransportDispatcher dispatcher)
SoapClientSoapRequest blocking the current thread until a response is available or the request times out.consume in interface SoapClientrequest - a SoapRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the SoapRequestSoapResponse instance with the XML content and Headers if any.public SoapResponse parseResponse(String operation, TransportResponse transportResponse)
SoapClientSoapResponse from a TransportResponseparseResponse in interface SoapClientoperation - The name of the operation related to the responsetransportResponse - a TransportResponse instanceSoapResponse instance with the XML content and Headers if any.public void destroy()
SoapClientdestroy in interface SoapClientpublic void addOperations(Map<String,org.mule.wsdl.parser.model.operation.OperationModel> operations)
protected abstract Map<String,org.apache.cxf.message.Attachment> buildCxfAttachments(Map<String,SoapAttachment> attachments)
Copyright © 2020. All rights reserved.