public class WscClient extends Object
Client underneath, it connects to a Soap Server to perform requests to it.
It also defines some constants that are used to pass information between different cxf interceptors.
| Modifier and Type | Field and Description |
|---|---|
static String |
MULE_ATTACHMENTS_KEY |
static String |
MULE_HEADERS_KEY |
static String |
MULE_SOAP_ACTION |
static String |
MULE_WSC_ENCODING |
static String |
WSC_DISPATCHER |
| Constructor and Description |
|---|
WscClient(org.apache.cxf.endpoint.Client client,
WscDispatcher dispatcher,
SoapVersion soapVersion,
boolean mtomEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Object[] |
invoke(String operation,
Object payload,
List<org.apache.cxf.binding.soap.SoapHeader> headers,
List<org.apache.cxf.message.Attachment> attachments,
String encoding,
org.apache.cxf.message.Exchange exchange)
Invokes a Web Service Operation with the specified parameters.
|
public static final String WSC_DISPATCHER
public static final String MULE_ATTACHMENTS_KEY
public static final String MULE_HEADERS_KEY
public static final String MULE_SOAP_ACTION
public static final String MULE_WSC_ENCODING
public WscClient(org.apache.cxf.endpoint.Client client,
WscDispatcher dispatcher,
SoapVersion soapVersion,
boolean mtomEnabled)
public Object[] invoke(String operation, Object payload, List<org.apache.cxf.binding.soap.SoapHeader> headers, List<org.apache.cxf.message.Attachment> attachments, String encoding, org.apache.cxf.message.Exchange exchange)
operation - the operation that is going to be invoked.payload - the request body to be bounded in the envelope.headers - the request headers to be bounded in the envelope.attachments - the set of attachments that aims to be sent with the request.encoding - the encoding of the message.exchange - the exchange instance that will carry all the parameters when intercepting the message.public void destroy()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.