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 |
|---|---|
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.
|
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 void destroy()
SoapClientdestroy in interface SoapClientprotected abstract Map<String,org.apache.cxf.message.Attachment> buildCxfAttachments(Map<String,SoapAttachment> attachments)
Copyright © 2019. All rights reserved.