org.pentaho.platform.plugin.services.webservices
Class AxisUtil
java.lang.Object
org.pentaho.platform.plugin.services.webservices.AxisUtil
public class AxisUtil
- extends Object
WS_EXECUTE_SERVICE_ID
public static String WS_EXECUTE_SERVICE_ID
WSDL_SERVICE_ID
public static String WSDL_SERVICE_ID
AxisUtil
public AxisUtil()
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()