Class AxisUtil
- java.lang.Object
-
- org.pentaho.platform.plugin.services.webservices.AxisUtil
-
public class AxisUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringWS_EXECUTE_SERVICE_IDstatic StringWSDL_SERVICE_ID
-
Constructor Summary
Constructors Constructor Description AxisUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.axis2.description.AxisServicecreateService(org.pentaho.platform.api.engine.IServiceConfig ws, org.apache.axis2.engine.AxisConfiguration axisConfig)Create a web service from a web service wrapper.static voidcreateServiceWsdl(org.apache.axis2.description.AxisService axisService, org.pentaho.platform.api.engine.IServiceConfig wsDef, org.apache.axis2.engine.AxisConfiguration axisConfig)Creates the WSDL for an Axis servicestatic org.pentaho.platform.api.engine.IServiceConfiggetSourceDefinition(org.apache.axis2.description.AxisService axisService, SystemSolutionAxisConfigurator axisConfigurator)static StringgetWebServiceExecuteUrl()Currently webservice content generators are wired up by a plugin.static StringgetWebServiceWsdlUrl()static StringgetWsdl(org.apache.axis2.engine.AxisConfiguration axisConfig, org.pentaho.platform.api.engine.IServiceConfig webservice)static javax.wsdl.DefinitiongetWsdlDefinition(org.apache.axis2.engine.AxisConfiguration axisConfig, org.pentaho.platform.api.engine.IServiceConfig webservice)
-
-
-
Field Detail
-
WS_EXECUTE_SERVICE_ID
public static final String WS_EXECUTE_SERVICE_ID
- See Also:
- Constant Field Values
-
WSDL_SERVICE_ID
public static final String WSDL_SERVICE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWsdlDefinition
public static javax.wsdl.Definition getWsdlDefinition(org.apache.axis2.engine.AxisConfiguration axisConfig, org.pentaho.platform.api.engine.IServiceConfig webservice) throws Exception- Throws:
Exception
-
getWsdl
public static String getWsdl(org.apache.axis2.engine.AxisConfiguration axisConfig, org.pentaho.platform.api.engine.IServiceConfig webservice) throws Exception
- Throws:
Exception
-
createService
public static org.apache.axis2.description.AxisService createService(org.pentaho.platform.api.engine.IServiceConfig ws, org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFaultCreate 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, org.pentaho.platform.api.engine.IServiceConfig wsDef, org.apache.axis2.engine.AxisConfiguration axisConfig) throws ExceptionCreates the WSDL for an Axis service- Parameters:
axisService-wrapper-- Throws:
Exception
-
getSourceDefinition
public static org.pentaho.platform.api.engine.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()
-
-