org.mule.transport.soap.axis
Class AxisMessageDispatcher
java.lang.Object
org.mule.transport.AbstractTransportMessageHandler
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.soap.axis.AxisMessageDispatcher
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, MessageProcessor, Connectable, MessageDispatcher
- Direct Known Subclasses:
- AxisWsdlMessageDispatcher
public class AxisMessageDispatcher
- extends AbstractMessageDispatcher
AxisMessageDispatcher
is used to make soap requests via the Axis
soap client.
Method Summary |
protected void |
addAttachments(MuleEvent event,
org.apache.axis.client.Call call)
|
protected void |
buildSoapMethods(MuleEvent event,
org.apache.axis.client.Call call,
Object method,
String methodNamespace,
Object[] args)
|
protected static MuleMessage |
createMessage(Object result,
org.apache.axis.client.Call call,
MuleContext muleContext)
|
protected org.apache.axis.client.Service |
createService(ImmutableEndpoint endpoint)
|
protected void |
doConnect()
|
protected void |
doDisconnect()
|
protected void |
doDispatch(MuleEvent event)
|
protected void |
doDispose()
|
protected MuleMessage |
doSend(MuleEvent event)
|
protected org.apache.axis.client.Call |
getCall(MuleEvent event,
Object[] args)
|
protected org.apache.axis.EngineConfiguration |
getClientConfig(ImmutableEndpoint endpoint)
|
protected Object |
getInitialMethod(MuleEvent event)
|
String |
parseSoapAction(String soapAction,
QName method,
MuleEvent event)
|
protected void |
parseStyle(MuleEvent event,
org.apache.axis.client.Call call)
|
protected void |
parseUse(MuleEvent event,
org.apache.axis.client.Call call)
|
protected Object |
refineMethod(MuleEvent event,
org.apache.axis.client.Call call,
Object method)
|
protected void |
setCustomProperties(MuleEvent event,
org.apache.axis.client.Call call)
|
protected void |
setMessageContextAttachments(MuleMessage message,
org.apache.axis.MessageContext ctx)
|
protected void |
setMessageContextProperties(MuleMessage message,
org.apache.axis.MessageContext ctx)
|
protected void |
setSoapAction(MuleEvent event,
EndpointURI endpointUri,
org.apache.axis.client.Call call)
|
protected void |
setUserCredentials(EndpointURI endpointUri,
org.apache.axis.client.Call call)
|
Methods inherited from class org.mule.transport.AbstractTransportMessageHandler |
activate, connect, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, doStart, doStop, getConnectEventId, getConnectionDescription, getConnector, getLifecycleState, initialise, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopping, passivate, setEndpoint, start, stop, toString, validate, validateConnection |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
clientConfig
protected org.apache.axis.EngineConfiguration clientConfig
connector
protected AxisConnector connector
service
protected org.apache.axis.client.Service service
AxisMessageDispatcher
public AxisMessageDispatcher(OutboundEndpoint endpoint)
doConnect
protected void doConnect()
throws Exception
- Overrides:
doConnect
in class AbstractTransportMessageHandler
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Overrides:
doDisconnect
in class AbstractTransportMessageHandler
- Throws:
Exception
doDispose
protected void doDispose()
- Overrides:
doDispose
in class AbstractTransportMessageHandler
getClientConfig
protected org.apache.axis.EngineConfiguration getClientConfig(ImmutableEndpoint endpoint)
createService
protected org.apache.axis.client.Service createService(ImmutableEndpoint endpoint)
throws Exception
- Throws:
Exception
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
getCall
protected org.apache.axis.client.Call getCall(MuleEvent event,
Object[] args)
throws Exception
- Throws:
Exception
addAttachments
protected void addAttachments(MuleEvent event,
org.apache.axis.client.Call call)
setSoapAction
protected void setSoapAction(MuleEvent event,
EndpointURI endpointUri,
org.apache.axis.client.Call call)
buildSoapMethods
protected void buildSoapMethods(MuleEvent event,
org.apache.axis.client.Call call,
Object method,
String methodNamespace,
Object[] args)
setUserCredentials
protected void setUserCredentials(EndpointURI endpointUri,
org.apache.axis.client.Call call)
setCustomProperties
protected void setCustomProperties(MuleEvent event,
org.apache.axis.client.Call call)
refineMethod
protected Object refineMethod(MuleEvent event,
org.apache.axis.client.Call call,
Object method)
parseUse
protected void parseUse(MuleEvent event,
org.apache.axis.client.Call call)
parseStyle
protected void parseStyle(MuleEvent event,
org.apache.axis.client.Call call)
getInitialMethod
protected Object getInitialMethod(MuleEvent event)
throws DispatchException
- Throws:
DispatchException
setMessageContextProperties
protected void setMessageContextProperties(MuleMessage message,
org.apache.axis.MessageContext ctx)
setMessageContextAttachments
protected void setMessageContextAttachments(MuleMessage message,
org.apache.axis.MessageContext ctx)
throws Exception
- Throws:
Exception
createMessage
protected static MuleMessage createMessage(Object result,
org.apache.axis.client.Call call,
MuleContext muleContext)
parseSoapAction
public String parseSoapAction(String soapAction,
QName method,
MuleEvent event)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.