org.apache.axis2.tool.codegen
Class WSDL2JavaGenerator

java.lang.Object
  extended by org.apache.axis2.tool.codegen.WSDL2JavaGenerator

public class WSDL2JavaGenerator
extends Object


Constructor Summary
WSDL2JavaGenerator()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

getBaseUri

public String getBaseUri(String wsdlURI)

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


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.