org.apache.axis2.tool.codegen
Class WSDL2JavaGenerator

java.lang.Object
  extended byorg.apache.axis2.tool.codegen.WSDL2JavaGenerator

public class WSDL2JavaGenerator
extends java.lang.Object


Constructor Summary
WSDL2JavaGenerator()
           
 
Method Summary
 java.util.Map fillOptionMap(boolean isAyncOnly, boolean isSyncOnly, boolean isServerSide, boolean isServerXML, boolean isTestCase, boolean isGenerateAll, java.lang.String serviceName, java.lang.String portName, java.lang.String databindingName, java.lang.String WSDLURI, java.lang.String packageName, java.lang.String selectedLanguage, java.lang.String outputLocation, java.lang.String namespace2packageList, boolean isServerSideInterface)
          Creates a list of parameters for the code generator based on the decisions made by the user on the OptionsPage (page2).
 org.apache.axis2.description.AxisService getAxisService(java.lang.String wsdlURI)
          Reads the WSDL Object Model from the given location.
 java.lang.String getBaseUri(java.lang.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 java.util.Map fillOptionMap(boolean isAyncOnly,
                                   boolean isSyncOnly,
                                   boolean isServerSide,
                                   boolean isServerXML,
                                   boolean isTestCase,
                                   boolean isGenerateAll,
                                   java.lang.String serviceName,
                                   java.lang.String portName,
                                   java.lang.String databindingName,
                                   java.lang.String WSDLURI,
                                   java.lang.String packageName,
                                   java.lang.String selectedLanguage,
                                   java.lang.String outputLocation,
                                   java.lang.String namespace2packageList,
                                   boolean isServerSideInterface)
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 java.lang.String getBaseUri(java.lang.String wsdlURI)

getAxisService

public org.apache.axis2.description.AxisService getAxisService(java.lang.String wsdlURI)
                                                        throws java.lang.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
java.io.IOException - on errors reading the WSDL file
java.lang.Exception


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.