|
||||||||||
| 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 java.util.logging.Logger |
logger
The logger |
static java.lang.String |
SOAP_VERSION_11
|
static java.lang.String |
SOAP_VERSION_12
|
protected SoapComponentContext |
soapContext
The soap component context |
| Constructor Summary | |
|---|---|
AbstractExternalServiceCaller(SoapComponentContext soapContext,
java.util.logging.Logger logger)
Creates a new instance of AbstractExternalServiceCaller |
|
| Method Summary | |
|---|---|
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 void |
handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
java.lang.Exception exception)
Set the Exception in the JBI Message as Error. |
protected void |
handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
java.lang.String errorMessage)
|
protected static Addressing |
retrieveAddressing(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the addressing information from the exchange and from the service unit extensions. |
protected static boolean |
retrieveAddRoot(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
protected static org.apache.axis2.transport.http.HttpTransportProperties.Authenticator |
retrieveBasicAuthentication(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
org.apache.axis2.client.Options options)
Getting the basic authentication parameters for the outgoing SOAP request. |
protected static java.lang.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 java.lang.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 java.lang.String |
retrieveServiceAddress(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the final service address for this endpoint and message exchange. |
protected static java.lang.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 |
| Methods inherited from interface org.ow2.petals.binding.soap.listener.outgoing.ExternalServiceCaller |
|---|
call, getCallerType |
| Field Detail |
|---|
public static final java.lang.String SOAP_VERSION_11
public static final java.lang.String SOAP_VERSION_12
protected SoapComponentContext soapContext
protected java.util.logging.Logger logger
| Constructor Detail |
|---|
public AbstractExternalServiceCaller(SoapComponentContext soapContext,
java.util.logging.Logger logger)
AbstractExternalServiceCaller
soapContext - logger - | Method Detail |
|---|
protected void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
java.lang.Exception exception)
exchange - exception - The exception
protected void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.apache.axis2.AxisFault axisFault)
exchange - axisFault - The axisFault
protected void handleException(org.ow2.petals.component.framework.api.message.Exchange exchange,
java.lang.String errorMessage)
exchange - e - protected static final boolean retrieveAddRoot(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final java.lang.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 java.lang.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_URIprotected static final boolean retrieveCleanupTransport(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
#308219protected static final java.lang.String retrieveChunkedMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final org.apache.axis2.transport.http.HttpTransportProperties.Authenticator retrieveBasicAuthentication(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
org.apache.axis2.client.Options options)
extensions - options -
protected static final java.lang.String retrieveServiceAddress(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
org.ow2.petals.component.framework.api.Constants.WSStar.ADDRESSING_KEY
property (OASIS/W3C standard)
exchange - The exchangeextensions - The extensions
protected static final Addressing retrieveAddressing(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
exchange - extensions -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||