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_ENABLE_NAMESPACES |
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. |
String |
createSequence(CreateSequenceRequest request,
TransportDispatcher dispatcher)
Creates a Reliable Message sequence
|
void |
destroy()
Shuts down the client and all resources that is holding.
|
SoapResponse |
parseResponse(String operation,
TransportResponse transportResponse)
Generates a
SoapResponse from a TransportResponse |
void |
terminateSequence(TerminateSequenceRequest request,
TransportDispatcher dispatcher)
Terminates a Reliable Message sequence
|
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 static final String MULE_ENABLE_NAMESPACES
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 String createSequence(CreateSequenceRequest request, TransportDispatcher dispatcher)
SoapClientcreateSequence in interface SoapClientrequest - a CreateSequenceRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the RM protocol messageString representing a reliable message sequence identifierpublic void terminateSequence(TerminateSequenceRequest request, TransportDispatcher dispatcher)
SoapClientterminateSequence in interface SoapClientrequest - a TerminateSequenceRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the RM protocol messagepublic void destroy()
SoapClientdestroy in interface SoapClientprotected abstract Map<String,org.apache.cxf.message.Attachment> buildCxfAttachments(Map<String,SoapAttachment> attachments)
Copyright © 2022. All rights reserved.