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 AxisService createService(IServiceConfig ws, AxisConfiguration axisConfig)
          Create a web service from a web service wrapper.
static void createServiceWsdl(AxisService axisService, IServiceConfig wsDef, AxisConfiguration axisConfig)
          Creates the WSDL for an Axis service
static IServiceConfig getSourceDefinition(AxisService axisService, SystemSolutionAxisConfigurator axisConfigurator)
           
static String getWebServiceExecuteUrl()
          Currently webservice content generators are wired up by a plugin.
static String getWebServiceWsdlUrl()
           
static String getWsdl(AxisConfiguration axisConfig, IServiceConfig webservice)
           
static Definition getWsdlDefinition(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 Definition getWsdlDefinition(AxisConfiguration axisConfig,
                                           IServiceConfig webservice)
                                    throws Exception
Throws:
Exception

getWsdl

public static String getWsdl(AxisConfiguration axisConfig,
                             IServiceConfig webservice)
                      throws Exception
Throws:
Exception

createService

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

Parameters:
wrapper - The wrapper
Returns:
Throws:
AxisFault

createServiceWsdl

public static void createServiceWsdl(AxisService axisService,
                                     IServiceConfig wsDef,
                                     AxisConfiguration axisConfig)
                              throws Exception
Creates the WSDL for an Axis service

Parameters:
axisService -
wrapper -
Throws:
Exception

getSourceDefinition

public static IServiceConfig getSourceDefinition(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()