|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.ibm.ws.webservices.tools.ant.WSDL2JavaBase
com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EE
com.ibm.websphere.ant.tasks.WSDL2Java
The WSDL2Java task creates Java classes and deployment descriptor templates from a Web Services Description Language (WSDL) file. The structure of the WSDL2Java task is shown below:
Nested Class Summary | |
---|---|
class |
WSDL2Java.Mapping
Used for nested package definitions. |
Field Summary |
---|
Fields inherited from class com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EE |
---|
container, inputMappingFile, role |
Fields inherited from class com.ibm.ws.webservices.tools.ant.WSDL2JavaBase |
---|
all, classpath, debug, deployScope, fileNStoPkg, genEquals, genImplSer, genjava, genResolver, genxml, introspect, javaSearch, metaInfOnly, namespaceMap, noDataBinding, noWrappedArrays, noWrappedOperations, output, password, resolver, scenario, servicesToWrite, testCase, timeout, url, user, verbose |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
WSDL2Java()
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.ibm.ws.webservices.tools.ant.WSDL2JavaJ2EE |
---|
_execute, preExecute |
Methods inherited from class com.ibm.ws.webservices.tools.ant.WSDL2JavaBase |
---|
execute, postExecute, setMETA_INF_Only, setServicesToBeWritten |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSDL2Java()
Method Detail |
public void setInputMappingFile(java.lang.String inputMappingFile)
inputMappingFile
- The inputMappingFile to set.
The file name of the java to WSDL mapping file.public void setRole(java.lang.String role)
role
- The role to set.
The J2EE development role that identifies which files to generate.public void setContainer(java.lang.String container)
container
- The container to set.
Indicates the J2EE container to be used.public void setVerbose(java.lang.String verbose)
verbose
- The verbose to set.public void setDebug(java.lang.String debug)
debug
- The debug to set.public void setTestCase(java.lang.String testcase)
testcase
- The testcase to set.public void setOutput(java.io.File output)
output
- The output to set.public void setDeployScope(java.lang.String deployscope)
deployscope
- The deployscope to set.public void setGenJava(java.lang.String genJava)
genJava
- The genJava option.
"No", "IfNotExists" (default), or "Overwrite"public void setGenXML(java.lang.String genXML)
genXML
- The genXML to set.public void setUrl(java.lang.String url)
url
- The url of the input WSDL documentpublic void setAll(java.lang.String all)
all
- The all to set.public void setTimeout(java.lang.String timeout)
timeout
- Specifies how long to wait, in seconds, for the url to respondpublic void setUser(java.lang.String user)
user
- The user to set.public void setPassword(java.lang.String password)
password
- The password to set.public void setUseResolver(java.lang.String resolver)
resolver
- The resolver to set.public void setGenerateResolver(boolean genResolver)
genResolver
- Set to generate an absolute-import resolver class.public com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping createMapping()
public void setClasspath(java.lang.String classpath)
classpath
- Set to the classpath to use for class introspection.public void setIntrospect(java.lang.String introspect)
introspect
- Set to enable introspection of
existing classes to determine mapping details.public void setJavaSearch(java.lang.String parameter)
parameter
- String value of 'File', 'Classpath', 'Both'public void setNoDataBinding(boolean value)
public void setNoWrappedArrays(boolean parameter)
public void setNoWrappedOperations(boolean parameter)
public void setFileNStoPkg(java.lang.String fileName)
public void setGenEquals(boolean parameter)
public void setGenImplSer(boolean parameter)
public void setScenario(java.lang.String parameter)
parameter
- "normal" to get default behavior,
"wrdTopDown" to get WRD-specific action.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |