public class AxisServiceComponent extends Object implements Initialisable, Callable
AxisServiceComponent is a Mule component implementation of the Axis
servlet. This component supports all the features of the Axis servlet except -
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AXIS_HOME |
static String |
INIT_PROPERTY_ENABLE_LIST |
static String |
INIT_PROPERTY_TRANSPORT_NAME |
static String |
INIT_PROPERTY_USE_SECURITY |
protected static org.apache.commons.logging.Log |
logger |
PHASE_NAME| Constructor and Description |
|---|
AxisServiceComponent()
For IoC
|
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(MuleEventContext context,
AxisStringWriter response) |
protected void |
doPost(MuleEventContext context,
AxisStringWriter response) |
org.apache.axis.server.AxisServer |
getAxis() |
String |
getHomeDir() |
protected int |
getHttpResponseStatus(org.apache.axis.AxisFault af) |
protected String |
getServiceName(MuleEventContext context,
EndpointURI endpointUri) |
String |
getTransportName() |
void |
initialise() |
protected void |
invokeEndpointFromGet(org.apache.axis.MessageContext msgContext,
AxisStringWriter response,
String method,
String args) |
boolean |
isEnableList() |
Object |
onCall(MuleEventContext context)
Passes the context to the listener
|
protected void |
processAxisFault(org.apache.axis.AxisFault fault) |
protected void |
processListRequest(AxisStringWriter response) |
protected void |
processMethodRequest(org.apache.axis.MessageContext msgContext,
MuleEventContext context,
AxisStringWriter response,
EndpointURI endpointUri) |
protected void |
processWsdlRequest(org.apache.axis.MessageContext msgContext,
AxisStringWriter response) |
protected void |
reportAvailableServices(MuleEventContext context,
AxisStringWriter response) |
protected void |
reportCantGetAxisService(MuleEventContext context,
AxisStringWriter response) |
protected void |
reportServiceInfo(AxisStringWriter response,
org.apache.axis.handlers.soap.SOAPService service,
String serviceName) |
void |
setAxis(org.apache.axis.server.AxisServer axisServer) |
void |
setEnableList(boolean enableList) |
void |
setHomeDir(String homeDir) |
void |
setTransportName(String transportName) |
protected static final org.apache.commons.logging.Log logger
public static final String INIT_PROPERTY_TRANSPORT_NAME
public static final String INIT_PROPERTY_USE_SECURITY
public static final String INIT_PROPERTY_ENABLE_LIST
public static final String DEFAULT_AXIS_HOME
public Object onCall(MuleEventContext context) throws Exception
onCall in interface Callablecontext - the context to processLifecycleAdapter for the component receives this
object it will first see if the Object is an MuleEvent
if not and the Object is not null a new context will be created using
the returned object as the payload. This new context will then get
published to the configured outbound endpoint if-
setStopFurtherProcessing(true) wasn't called
on the previous context.Exception - if the context fails to process properly. If exceptions
aren't handled by the implementation they will be handled by the
exceptionListener associated with the componentpublic void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void doGet(MuleEventContext context, AxisStringWriter response) throws MuleException, IOException
MuleExceptionIOExceptionprotected void doPost(MuleEventContext context, AxisStringWriter response) throws Exception
Exceptionprotected void processAxisFault(org.apache.axis.AxisFault fault)
protected void processMethodRequest(org.apache.axis.MessageContext msgContext,
MuleEventContext context,
AxisStringWriter response,
EndpointURI endpointUri)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected void processWsdlRequest(org.apache.axis.MessageContext msgContext,
AxisStringWriter response)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected void invokeEndpointFromGet(org.apache.axis.MessageContext msgContext,
AxisStringWriter response,
String method,
String args)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected void reportServiceInfo(AxisStringWriter response, org.apache.axis.handlers.soap.SOAPService service, String serviceName)
protected void processListRequest(AxisStringWriter response) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected void reportAvailableServices(MuleEventContext context, AxisStringWriter response) throws org.apache.axis.ConfigurationException, org.apache.axis.AxisFault
org.apache.axis.ConfigurationExceptionorg.apache.axis.AxisFaultprotected void reportCantGetAxisService(MuleEventContext context, AxisStringWriter response)
protected int getHttpResponseStatus(org.apache.axis.AxisFault af)
protected String getServiceName(MuleEventContext context, EndpointURI endpointUri) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultpublic String getTransportName()
public void setTransportName(String transportName)
public boolean isEnableList()
public void setEnableList(boolean enableList)
public String getHomeDir()
public void setHomeDir(String homeDir)
public org.apache.axis.server.AxisServer getAxis()
public void setAxis(org.apache.axis.server.AxisServer axisServer)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.