public class Java2WSDL extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
BINDING_NAME_OPT
Field BINDING_NAME_OPT
|
protected String |
className
Field className
|
protected static int |
CLASSPATH_OPT |
protected static int |
DEPLOY_OPT
Field DEPLOY_OPT
|
protected Emitter |
emitter
Field emitter
|
protected static int |
EXTRA_CLASSES_OPT
Field EXTRA_CLASSES_OPT
|
protected static int |
HELP_OPT
Field HELP_OPT
|
protected static int |
IMPL_CLASS_OPT
Field IMPL_CLASS_OPT
|
protected static int |
IMPORT_SCHEMA_OPT
Field IMPORT_SCHEMA_OPT
|
protected static int |
INHERITED_CLASS_OPT
Field INHERITED_CLASS_OPT
|
protected static int |
INPUT_OPT
Field INPUT_OPT
|
protected boolean |
isDeploy
Field isDeplpy
|
protected static int |
LOCATION_IMPORT_OPT
Field LOCATION_IMPORT_OPT
|
protected static int |
LOCATION_OPT
Field LOCATION_OPT
|
protected static int |
METHODS_ALLOWED_OPT
Field METHODS_ALLOWED_OPT
|
protected static int |
METHODS_NOTALLOWED_OPT
Field METHODS_NOTALLOWED_OPT
|
protected int |
mode
Field mode
|
protected static int |
NAMESPACE_IMPL_OPT
Field NAMESPACE_IMPL_OPT
|
protected static int |
NAMESPACE_OPT
Field NAMESPACE_OPT
|
protected HashMap |
namespaceMap
Field namespaceMap
|
protected CLOptionDescriptor[] |
options
Define the understood options.
|
protected static int |
OUTPUT_IMPL_OPT
Field OUTPUT_IMPL_OPT
|
protected static int |
OUTPUT_OPT
Field OUTPUT_OPT
|
protected static int |
OUTPUT_WSDL_MODE_OPT
Field OUTPUT_WSDL_MODE_OPT
|
protected static int |
PACKAGE_OPT
Field PACKAGE_OPT
|
protected static int |
PORTTYPE_NAME_OPT
Field PORTTYPE_NAME_OPT
|
protected static int |
SERVICE_ELEMENT_NAME_OPT
Field SERVICE_ELEMENT_NAME_OPT
|
protected static int |
SERVICE_PORT_NAME_OPT
Field SERVICE_PORT_NAME_OPT
|
protected static int |
SOAPACTION_OPT
Field SOAPACTION_OPT
|
protected static int |
STOP_CLASSES_OPT
Field STOP_CLASSES_OPT
|
protected static int |
STYLE_OPT
Field STYLE_OPT
|
protected static int |
TYPEMAPPING_OPT
Field TYPEMAPPING_OPT
|
protected String |
typeMappingVersion
Field typeMappingVersion
|
protected static int |
USE_OPT
Field USE_OPT
|
protected String |
wsdlFilename
Field wsdlFilename
|
protected String |
wsdlImplFilename
Field wsdlImplFilename
|
Modifier | Constructor and Description |
---|---|
protected |
Java2WSDL()
Instantiate a Java2WSDL emitter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions(CLOptionDescriptor[] newOptions)
addOptions
Add option descriptions to the tool.
|
protected Emitter |
createEmitter()
Instantiate an Emitter
|
protected void |
generateServerSide(Emitter j2w,
String wsdlFileName)
Generate the server side artifacts from the generated WSDL
|
static void |
main(String[] args)
Main
Run the Java2WSDL emitter with the specified command-line arguments
|
protected boolean |
parseOption(CLOption option)
Parse an option
|
protected void |
printUsage()
printUsage
print usage information and quit.
|
protected int |
run(String[] args)
run
checks the command-line arguments and runs the tool.
|
protected boolean |
validateOptions()
validateOptions
This method is invoked after the options are set to validate
the option settings.
|
protected static final int INHERITED_CLASS_OPT
protected static final int SOAPACTION_OPT
protected static final int BINDING_NAME_OPT
protected static final int STOP_CLASSES_OPT
protected static final int IMPORT_SCHEMA_OPT
protected static final int EXTRA_CLASSES_OPT
protected static final int HELP_OPT
protected static final int IMPL_CLASS_OPT
protected static final int INPUT_OPT
protected static final int LOCATION_OPT
protected static final int LOCATION_IMPORT_OPT
protected static final int METHODS_ALLOWED_OPT
protected static final int NAMESPACE_OPT
protected static final int NAMESPACE_IMPL_OPT
protected static final int OUTPUT_OPT
protected static final int OUTPUT_IMPL_OPT
protected static final int PACKAGE_OPT
protected static final int PORTTYPE_NAME_OPT
protected static final int SERVICE_PORT_NAME_OPT
protected static final int SERVICE_ELEMENT_NAME_OPT
protected static final int TYPEMAPPING_OPT
protected static final int USE_OPT
protected static final int OUTPUT_WSDL_MODE_OPT
protected static final int METHODS_NOTALLOWED_OPT
protected static final int CLASSPATH_OPT
protected static final int STYLE_OPT
protected static final int DEPLOY_OPT
protected CLOptionDescriptor[] options
protected Emitter emitter
protected String className
protected String wsdlFilename
protected String wsdlImplFilename
protected HashMap namespaceMap
protected int mode
protected String typeMappingVersion
protected boolean isDeploy
protected Emitter createEmitter()
protected void addOptions(CLOptionDescriptor[] newOptions)
newOptions
- CLOptionDescriptor[] the optionsprotected boolean parseOption(CLOption option)
option
- CLOption is the optionprotected boolean validateOptions()
protected int run(String[] args)
args
- String[] command-line arguments.protected void generateServerSide(Emitter j2w, String wsdlFileName) throws Exception
j2w
- the Java2WSDL emitterwsdlFileName
- the generated WSDL fileException
protected void printUsage()
public static void main(String[] args)
args
- String[] command-line argumentsCopyright © The Apache Software Foundation. All Rights Reserved.