|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.listener.outgoing.AbstractExternalServiceCaller
public abstract class AbstractExternalServiceCaller
Abstract class for dispatchers. Dispatchers are used to send JBI message to external Web Services.
| Field Summary | |
|---|---|
protected Logger |
logger
The logger |
static String |
SOAP_VERSION_11
|
static String |
SOAP_VERSION_12
|
protected SoapComponentContext |
soapContext
The soap component context |
| Constructor Summary | |
|---|---|
AbstractExternalServiceCaller(SoapComponentContext soapContext,
Logger logger)
Creates a new instance of AbstractExternalServiceCaller |
|
| Method Summary | |
|---|---|
protected abstract void |
call(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
Process the message exchange (call an external WS). |
protected abstract String |
getCallerType()
Returns the type of dispatcher. |
protected void |
handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.apache.axis2.AxisFault axisFault)
Set the Exception in the JBI Message as Error. |
protected static void |
handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
Exception t)
Set the Exception in the JBI Message as Error. |
protected void |
handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
String errorMessage)
|
protected static String |
retrieveChunkedMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the chunked mode |
protected static boolean |
retrieveCleanupTransport(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the cleanup-transport property value (true/false). |
protected static String |
retrieveDefaultSOAPAction(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the default SOAP action from the extensions. |
protected static org.apache.axis2.transport.http.HttpTransportProperties.ProxyProperties |
retrieveProxySettings(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the proxy settings from the extensions. |
protected static String |
retrieveSOAPEnvelopeNamespaceURI(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve, in the jbi.xml descriptor, the SOAP version to use for SoapEnvelopeNamespaceURI Search a soap-version tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SOAP_VERSION_11
public static final String SOAP_VERSION_12
protected SoapComponentContext soapContext
protected Logger logger
| Constructor Detail |
|---|
public AbstractExternalServiceCaller(SoapComponentContext soapContext,
Logger logger)
AbstractExternalServiceCaller
soapContext - logger - | Method Detail |
|---|
protected static final String retrieveChunkedMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final boolean retrieveCleanupTransport(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
#308219protected static final String retrieveDefaultSOAPAction(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final org.apache.axis2.transport.http.HttpTransportProperties.ProxyProperties retrieveProxySettings(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - must be not null. Contains proxy-* optional tags.
HttpTransportProperties.ProxyPropertiesprotected static final String retrieveSOAPEnvelopeNamespaceURI(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - must be non null. Contains a soap-version optional
tag.
org.apache.axiom.soap.SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI
protected abstract void call(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
exchange - extensions - protected abstract String getCallerType()
protected final void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.apache.axis2.AxisFault axisFault)
exchange - axisFault - The axisFault
protected final void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
String errorMessage)
exchange - e -
protected static final void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
Exception t)
exchange - exception - The exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||