org.mule.transport.soap.axis
Class AxisMessageDispatcher

java.lang.Object
  extended by org.mule.transport.AbstractConnectable
      extended by org.mule.transport.AbstractMessageDispatcher
          extended by org.mule.transport.soap.axis.AxisMessageDispatcher
All Implemented Interfaces:
ExceptionListener, Disposable, Initialisable, Startable, Stoppable, Connectable, MessageDispatcher, MessageDispatching
Direct Known Subclasses:
AxisWsdlMessageDispatcher

public class AxisMessageDispatcher
extends AbstractMessageDispatcher

AxisMessageDispatcher is used to make soap requests via the Axis soap client.


Field Summary
protected  org.apache.axis.EngineConfiguration clientConfig
           
protected  AxisConnector connector
           
protected  org.apache.axis.client.Service service
           
 
Fields inherited from class org.mule.transport.AbstractConnectable
connected, disposed, endpoint, logger, retryTemplate, started, startOnConnect
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.transport.MessageDispatching
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
AxisMessageDispatcher(OutboundEndpoint endpoint)
           
 
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)
           
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.AbstractMessageDispatcher
dispatch, dispose, getEndpoint, getWorkManager, initialise, isTransactionRollback, returnResponse, send
 
Methods inherited from class org.mule.transport.AbstractConnectable
activate, connect, disconnect, disposeAndLogException, doInitialise, doStart, doStop, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, handleException, isConnected, isDoThreading, isStarted, passivate, setEndpoint, start, stop, toString, validate, validateConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.transport.MessageDispatcher
activate, getConnector, passivate, validate
 
Methods inherited from interface org.mule.api.transport.Connectable
connect, disconnect, getConnectionDescription, isConnected, validateConnection
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 

Field Detail

clientConfig

protected org.apache.axis.EngineConfiguration clientConfig

connector

protected AxisConnector connector

service

protected org.apache.axis.client.Service service
Constructor Detail

AxisMessageDispatcher

public AxisMessageDispatcher(OutboundEndpoint endpoint)
Method Detail

doConnect

protected void doConnect()
                  throws Exception
Overrides:
doConnect in class AbstractConnectable
Throws:
Exception

doDisconnect

protected void doDisconnect()
                     throws Exception
Overrides:
doDisconnect in class AbstractConnectable
Throws:
Exception

doDispose

protected void doDispose()
Overrides:
doDispose in class AbstractConnectable

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)

parseSoapAction

public String parseSoapAction(String soapAction,
                              QName method,
                              MuleEvent event)


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.