Package org.wso2.carbon.wsdl2code
Class WSDL2Code
- java.lang.Object
-
- org.wso2.carbon.core.AbstractAdmin
-
- org.wso2.carbon.wsdl2code.WSDL2Code
-
public class WSDL2Code extends org.wso2.carbon.core.AbstractAdmin
Tool that generate code for the given options
-
-
Constructor Summary
Constructors Constructor Description WSDL2Code()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodegenDownloadData
codegen(String[] options)
This method will generate the code based on the options array.CodegenDownloadData
codegenForCXF(String[] options)
Generates code for CXF-
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
-
-
-
-
Method Detail
-
codegen
public CodegenDownloadData codegen(String[] options) throws org.apache.axis2.AxisFault
This method will generate the code based on the options array. Options arrya should be as follows, new String[] {"-uri", "location of wsdl", "-g" ...}. Thus, the incoming XML should be as follows,-uri file://foo ...- Parameters:
options
-- Returns:
- String
- Throws:
org.apache.axis2.AxisFault
-
codegenForCXF
public CodegenDownloadData codegenForCXF(String[] options) throws org.apache.axis2.AxisFault
Generates code for CXF- Parameters:
options
-- Returns:
- Throws:
org.apache.axis2.AxisFault
-
-