Class WSDL2JavaGenerator


  • public class WSDL2JavaGenerator
    extends Object
    • Constructor Detail

      • WSDL2JavaGenerator

        public WSDL2JavaGenerator()
    • 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 invalid
        IOException - on errors reading the WSDL file
        Exception