org.pentaho.platform.plugin.services.webservices.content
Class AxisServiceWsdlGenerator

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.services.solution.BaseContentGenerator
          extended by org.pentaho.platform.engine.services.solution.SimpleContentGenerator
              extended by org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
                  extended by org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher
                      extended by org.pentaho.platform.plugin.services.webservices.content.AxisServiceWsdlGenerator
All Implemented Interfaces:
Serializable, IContentGenerator, ILogger

public class AxisServiceWsdlGenerator
extends AxisWebServiceRequestDispatcher

Writes the WSDL for a Axis web service to the output stream provided

Author:
jamesdixon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
AxisServiceWsdlGenerator()
           
 
Method Summary
 void createServiceContent(org.apache.axis2.description.AxisService axisService, String operationName, org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out)
          Writes the WSDL to the output stream provided.
 org.apache.commons.logging.Log getLogger()
           
 String getMimeType()
           
 
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
 
Methods inherited from class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
createContent
 
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.api.engine.ILogger
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
 

Constructor Detail

AxisServiceWsdlGenerator

public AxisServiceWsdlGenerator()
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
Writes the WSDL to the output stream provided. The WSDL is prepared ahead of time when the web service is created.

Parameters:
axisService - The Axis web service
operationName - The name of the operation to perform, if known
axisConfiguration - The current configuration
context - The current context
out - The output stream for content to be written to
Throws:
Exception

getLogger

public org.apache.commons.logging.Log getLogger()
Specified by:
getLogger in class BaseContentGenerator

getMimeType

public String getMimeType()
Specified by:
getMimeType in class SimpleContentGenerator