public class WSDL2Java
extends com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EE
| Modifier and Type | Class and Description |
|---|---|
class |
WSDL2Java.Mapping
Used for nested package definitions.
|
container, inputMappingFile, roleall, allowRelativeNamespace, classpath, debug, deployScope, fileNStoPkg, genEquals, genImplSer, genjava, genResolver, genxml, introspect, javaSearch, metaInfOnly, namespaceMap, noDataBinding, noWrappedArrays, noWrappedOperations, output, password, properties, propertiesFile, resolver, retry, scenario, servicesToWrite, testCase, timeout, url, user, verbose| Constructor and Description |
|---|
WSDL2Java() |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping |
createMapping()
Create namespace to package mapping.
|
void |
setAll(java.lang.String all)
Sets the all
|
void |
setClasspath(java.lang.String classpath)
Sets the classpath
|
void |
setContainer(java.lang.String container)
Sets the container
|
void |
setDebug(java.lang.String debug)
Sets the debug
|
void |
setDeployScope(java.lang.String deployscope)
Sets the deployscope
|
void |
setFileNStoPkg(java.lang.String fileName)
Set the NStoPkg mappings filename.
|
void |
setGenEquals(boolean parameter)
Enable the hashcode/equal generation.
|
void |
setGenerateResolver(boolean genResolver)
Sets the genResolver
|
void |
setGenImplSer(boolean parameter)
Have generated beans implement
java.io.Serializable.
|
void |
setGenJava(java.lang.String genJava)
Sets the genJava
|
void |
setGenXML(java.lang.String genXML)
Sets the genXML
|
void |
setInputMappingFile(java.lang.String inputMappingFile)
Sets the inputMappingFile
|
void |
setIntrospect(java.lang.String introspect)
Sets the introspect
|
void |
setJavaSearch(java.lang.String parameter)
The setter for the "javaSearch" attribute
Set the javaSearch option used whith genJava.
|
void |
setNoDataBinding(boolean value)
Setter for noDataBinding
Force everything to be mapped to a generic
object (i.e.
|
void |
setNoWrappedArrays(boolean parameter)
The setter for the "noWrappedArrays" attribute
Do not wrap arrays.
|
void |
setNoWrappedOperations(boolean parameter)
The setter for the "noWrappedOperations"
attribute.
|
void |
setOutput(java.io.File output)
Sets the output
|
void |
setPassword(java.lang.String password)
Sets the password
|
void |
setRole(java.lang.String role)
Sets the role
|
void |
setScenario(java.lang.String parameter)
Set the scenario option used with genJava.
|
void |
setTestCase(java.lang.String testcase)
Sets the testcase
|
void |
setTimeout(java.lang.String timeout)
Sets the timeout
|
void |
setUrl(java.lang.String url)
Sets the url
|
void |
setUser(java.lang.String user)
Sets the user
|
void |
setUseResolver(java.lang.String resolver)
Sets the resolver
|
void |
setVerbose(java.lang.String verbose)
Sets the verbose
|
execute, postExecute, setAllowRelativeNamespace, setMETA_INF_Only, setProperties, setPropertiesFile, setRetry, setServicesToBeWrittengetDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setInputMappingFile(java.lang.String inputMappingFile)
setInputMappingFile in class com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EEinputMappingFile - The inputMappingFile to set.
The file name of the java to WSDL mapping file.public void setRole(java.lang.String role)
setRole in class com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EErole - The role to set.
The J2EE development role that identifies which files to generate.public void setContainer(java.lang.String container)
setContainer in class com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EEcontainer - The container to set.
Indicates the J2EE container to be used.public void setVerbose(java.lang.String verbose)
setVerbose in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseverbose - The verbose to set.public void setDebug(java.lang.String debug)
setDebug in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasedebug - The debug to set.public void setTestCase(java.lang.String testcase)
setTestCase in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasetestcase - The testcase to set.public void setOutput(java.io.File output)
setOutput in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseoutput - The output to set.public void setDeployScope(java.lang.String deployscope)
setDeployScope in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasedeployscope - The deployscope to set.public void setGenJava(java.lang.String genJava)
setGenJava in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasegenJava - The genJava option.
"No", "IfNotExists" (default), or "Overwrite"public void setGenXML(java.lang.String genXML)
setGenXML in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasegenXML - The genXML to set.public void setUrl(java.lang.String url)
setUrl in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseurl - The url of the input WSDL documentpublic void setAll(java.lang.String all)
setAll in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseall - The all to set.public void setTimeout(java.lang.String timeout)
setTimeout in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasetimeout - Specifies how long to wait, in seconds, for the url to respondpublic void setUser(java.lang.String user)
setUser in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseuser - The user to set.public void setPassword(java.lang.String password)
setPassword in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepassword - The password to set.public void setUseResolver(java.lang.String resolver)
setUseResolver in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseresolver - The resolver to set.public void setGenerateResolver(boolean genResolver)
setGenerateResolver in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasegenResolver - Set to generate an absolute-import resolver class.public com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping createMapping()
createMapping in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setClasspath(java.lang.String classpath)
setClasspath in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseclasspath - Set to the classpath to use for class introspection.public void setIntrospect(java.lang.String introspect)
setIntrospect in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseintrospect - Set to enable introspection of
existing classes to determine mapping details.public void setJavaSearch(java.lang.String parameter)
setJavaSearch in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseparameter - String value of 'File', 'Classpath', 'Both'public void setNoDataBinding(boolean value)
setNoDataBinding in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setNoWrappedArrays(boolean parameter)
setNoWrappedArrays in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setNoWrappedOperations(boolean parameter)
setNoWrappedOperations in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setFileNStoPkg(java.lang.String fileName)
setFileNStoPkg in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setGenEquals(boolean parameter)
setGenEquals in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setGenImplSer(boolean parameter)
setGenImplSer in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBasepublic void setScenario(java.lang.String parameter)
setScenario in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBaseparameter - "normal" to get default behavior,
"wrdTopDown" to get WRD-specific action.