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
-
Field Summary
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method will generate the code based on the options array.codegenForCXF(String[] options) Generates code for CXFMethods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
-
Constructor Details
-
WSDL2Code
public WSDL2Code()
-
-
Method Details
-
codegen
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, invalid input: '<'ns:codegenRequest xmlns:ns="http://org.wso2.wsf/tools">-uri file://foo ... invalid input: '<'/ns:codegenRequest> Once codegenerated, location of genereated code will be send as an ID, thus, one could easily download artifact as a zip file or jar file.- Parameters:
options-- Returns:
- String
- Throws:
org.apache.axis2.AxisFault
-
codegenForCXF
Generates code for CXF- Parameters:
options-- Returns:
- Throws:
org.apache.axis2.AxisFault
-