org.pentaho.platform.plugin.services.webservices
Class AxisUtil

java.lang.Object
  extended by org.pentaho.platform.plugin.services.webservices.AxisUtil

public class AxisUtil
extends Object


Field Summary
static String WS_EXECUTE_SERVICE_ID
           
static String WSDL_SERVICE_ID
           
 
Constructor Summary
AxisUtil()
           
 
Method Summary
static org.apache.axis2.description.AxisService createService(IServiceConfig ws, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Create a web service from a web service wrapper.
static void createServiceWsdl(org.apache.axis2.description.AxisService axisService, IServiceConfig wsDef, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Creates the WSDL for an Axis service
static IServiceConfig getSourceDefinition(org.apache.axis2.description.AxisService axisService, SystemSolutionAxisConfigurator axisConfigurator)
           
static String getWebServiceExecuteUrl()
          Currently webservice content generators are wired up by a plugin.
static String getWebServiceWsdlUrl()
           
static String getWsdl(org.apache.axis2.engine.AxisConfiguration axisConfig, IServiceConfig webservice)
           
static javax.wsdl.Definition getWsdlDefinition(org.apache.axis2.engine.AxisConfiguration axisConfig, IServiceConfig webservice)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WS_EXECUTE_SERVICE_ID

public static String WS_EXECUTE_SERVICE_ID

WSDL_SERVICE_ID

public static String WSDL_SERVICE_ID
Constructor Detail

AxisUtil

public AxisUtil()
Method Detail

getWsdlDefinition

public static javax.wsdl.Definition getWsdlDefinition(org.apache.axis2.engine.AxisConfiguration axisConfig,
                                                      IServiceConfig webservice)
                                               throws Exception
Throws:
Exception

getWsdl

public static String getWsdl(org.apache.axis2.engine.AxisConfiguration axisConfig,
                             IServiceConfig webservice)
                      throws Exception
Throws:
Exception

createService

public static org.apache.axis2.description.AxisService createService(IServiceConfig ws,
                                                                     org.apache.axis2.engine.AxisConfiguration axisConfig)
                                                              throws org.apache.axis2.AxisFault
Create a web service from a web service wrapper. The concrete subclass providers the wrappers via getWebServiceWrappers()

Parameters:
wrapper - The wrapper
Returns:
Throws:
org.apache.axis2.AxisFault

createServiceWsdl

public static void createServiceWsdl(org.apache.axis2.description.AxisService axisService,
                                     IServiceConfig wsDef,
                                     org.apache.axis2.engine.AxisConfiguration axisConfig)
                              throws Exception
Creates the WSDL for an Axis service

Parameters:
axisService -
wrapper -
Throws:
Exception

getSourceDefinition

public static IServiceConfig getSourceDefinition(org.apache.axis2.description.AxisService axisService,
                                                 SystemSolutionAxisConfigurator axisConfigurator)

getWebServiceExecuteUrl

public static String getWebServiceExecuteUrl()
Currently webservice content generators are wired up by a plugin. The following methods generate urls for executing web service and wsdl generation. These methods are tightly bound to the content generator specifications in the default-plugin of the system solution.


getWebServiceWsdlUrl

public static String getWebServiceWsdlUrl()