Package org.apache.axis2.tool.codegen
Class WSDL2JavaGenerator
- java.lang.Object
-
- org.apache.axis2.tool.codegen.WSDL2JavaGenerator
-
public class WSDL2JavaGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description WSDL2JavaGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
fillOptionMap(boolean isAyncOnly, boolean isSyncOnly, boolean isServerSide, boolean isServerXML, boolean isTestCase, boolean isGenerateAll, String serviceName, String portName, String databindingName, String WSDLURI, String packageName, String selectedLanguage, String outputLocation, String namespace2packageList, boolean isServerSideInterface, HashMap advanceOptions)
Creates a list of parameters for the code generator based on the decisions made by the user on the OptionsPage (page2).AxisService
getAxisService(String wsdlURI)
Reads the WSDL Object Model from the given location.String
getBaseUri(String wsdlURI)
-
-
-
Method Detail
-
fillOptionMap
public Map fillOptionMap(boolean isAyncOnly, boolean isSyncOnly, boolean isServerSide, boolean isServerXML, boolean isTestCase, boolean isGenerateAll, String serviceName, String portName, String databindingName, String WSDLURI, String packageName, String selectedLanguage, String outputLocation, String namespace2packageList, boolean isServerSideInterface, HashMap advanceOptions)
Creates a list of parameters for the code generator based on the decisions made by the user on the OptionsPage (page2). For each setting, there is a Command-Line option for the Axis2 code generator.- Returns:
- a Map with keys from CommandLineOptionConstants with the values entered by the user on the Options Page.
-
getAxisService
public AxisService getAxisService(String wsdlURI) throws Exception
Reads the WSDL Object Model from the given location.- Parameters:
wsdlURI
- the filesystem location (full path) of the WSDL file to read in.- Returns:
- the WSDLDescription object containing the WSDL Object Model of the given WSDL file
- Throws:
javax.wsdl.WSDLException
- when WSDL File is invalidIOException
- on errors reading the WSDL fileException
-
-