Class AxisServiceExecutor
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.PentahoBase
-
- org.pentaho.platform.engine.services.solution.BaseContentGenerator
-
- org.pentaho.platform.engine.services.solution.SimpleContentGenerator
-
- org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
-
- org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher
-
- org.pentaho.platform.plugin.services.webservices.content.AxisServiceExecutor
-
- All Implemented Interfaces:
Serializable
,org.apache.axis2.transport.OutTransportInfo
,org.pentaho.platform.api.engine.IContentGenerator
,org.pentaho.platform.api.engine.ILogger
public class AxisServiceExecutor extends AxisWebServiceRequestDispatcher implements org.apache.axis2.transport.OutTransportInfo
Executes an operation of a web service. This class requires that a HttpServletRequest, HttpServletResponse, and ServletConfig object are provided. Mock objects can be used instead of real HTTP objects.- Author:
- jamesdixon
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
callbacks, instanceId, itemName, messages, outputHandler, parameterProviders, urlFactory, userSession
-
-
Constructor Summary
Constructors Constructor Description AxisServiceExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createServiceContent(org.apache.axis2.description.AxisService axisService, String operationName, org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out)
Processes the current request for the provided Axis serviceorg.apache.commons.logging.Log
getLogger()
String
getMimeType()
void
setContentType(String contentType)
-
Methods inherited from class org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher
createContent
-
Methods inherited from class org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
createContent, handleFault, processAxisFault
-
Methods inherited from class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
createContent
-
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
getCallback, getItemName, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
-
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
-
-
-
-
Method Detail
-
createServiceContent
public void createServiceContent(org.apache.axis2.description.AxisService axisService, String operationName, org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out) throws Exception
Description copied from class:AxisWebServiceRequestDispatcher
Processes the current request for the provided Axis service- Specified by:
createServiceContent
in classAxisWebServiceRequestDispatcher
- Parameters:
axisService
- The Axis web serviceoperationName
- The name of the operation to perform, if knownaxisConfiguration
- The current configurationcontext
- The current contextout
- The output stream for content to be written to- Throws:
Exception
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in classorg.pentaho.platform.engine.services.solution.SimpleContentGenerator
-
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in classorg.pentaho.platform.engine.services.solution.BaseContentGenerator
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentType
in interfaceorg.apache.axis2.transport.OutTransportInfo
-
-