org.mule.transport.soap.axis
Class AxisMessageRequester
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageRequester
org.mule.transport.soap.axis.AxisMessageRequester
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, Connectable, MessageRequester, MessageRequesting
public class AxisMessageRequester
- extends AbstractMessageRequester
AxisMessageDispatcher
is used to make soap requests via the Axis
soap client.
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, callDoStartWhenItIsConnected, connect, connectAndThenStart, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, doStart, doStop, getConnectEventId, getConnectionDescription, getConnector, getLifecycleState, initializeMessageFactory, initializeRetryPolicy, isConnected, isConnecting, isDoStartMustFollowDoConnect, 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.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
AxisMessageRequester
public AxisMessageRequester(InboundEndpoint endpoint)
doConnect
protected void doConnect()
throws java.lang.Exception
- Overrides:
doConnect
in class AbstractConnectable
- Throws:
java.lang.Exception
doDisconnect
protected void doDisconnect()
throws java.lang.Exception
- Overrides:
doDisconnect
in class AbstractConnectable
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
doRequest
protected MuleMessage doRequest(long timeout)
throws java.lang.Exception
- Make a specific request to the underlying transport
- Specified by:
doRequest
in class AbstractMessageRequester
- Parameters:
timeout
- the maximum time the operation should block before returning.
The call should return immediately if there is data available. If
no data becomes available before the timeout elapses, null will be
returned
- Returns:
- the result of the request wrapped in a MuleMessage object. Null will be
returned if no data was avaialable
- Throws:
java.lang.Exception
- if the call to the underlying protocal cuases an exception
request
public MuleMessage request(java.lang.String endpoint,
java.lang.Object[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
request
public MuleMessage request(java.lang.String endpoint,
javax.xml.soap.SOAPEnvelope envelope)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.