|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
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.Java2WSDL
com.ibm.websphere.ant.tasks.Java2WSDL
public class Java2WSDL
The Java2WSDL task maps a Java class to a Web Services Description Language (WSDL) file. The structure of the Java2WSDL task is shown below:
Nested Class Summary | |
---|---|
class |
Java2WSDL.Mapping
Used for nested package definitions. |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
Java2WSDL()
|
Method Summary | |
---|---|
com.ibm.ws.webservices.tools.ant.Java2WSDL.Mapping |
createMapping()
Used to provide mappings of a Java package to a namespace. |
void |
setBindingName(java.lang.String bindingName)
Sets the bindingName |
void |
setBindingTypes(java.lang.String bindingTypes)
Set the list of binding types to be produced in the resulting WSDL document. |
void |
setClassName(java.lang.String className)
Sets the className |
void |
setClasspath(java.lang.String cp)
Set classpath to use for class introspection. |
void |
setDebug(boolean debug)
Sets the debug |
void |
setExtraClasses(java.lang.String extraClasses)
Sets the extraClasses |
void |
setImplClass(java.lang.String implClass)
Sets the implClass |
void |
setInput(java.lang.String input)
Sets the input |
void |
setLocation(java.lang.String location)
Sets the location |
void |
setLocationImport(java.lang.String locationImport)
Sets the locationImport |
void |
setMethods(java.lang.String methods)
Allows users to indicate which methods on the SEI should be exposed in the output wsdl file. |
void |
setMIMEStyle(java.lang.String mimeStyle)
Sets the mimeStyle |
void |
setNamespace(java.lang.String namespace)
Sets the namespace |
void |
setNamespaceImpl(java.lang.String namespaceImpl)
Sets the namespaceImpl |
void |
setOutput(java.lang.String output)
Sets the output |
void |
setOutputImpl(java.lang.String outputImpl)
Sets the outputImpl |
void |
setPortTypeName(java.lang.String portTypeName)
Sets the portTypeName |
void |
setProperties(java.lang.String properties)
Allows specification of binding specific properties. |
void |
setPropertiesFile(java.lang.String propertiesFile)
Allows specification of a properties file which can contain either a list of class names that should be added to the type section of the output wsdl, and/or a list of |
void |
setServiceElementName(java.lang.String serviceElementName)
Sets the serviceElementName |
void |
setServicePortName(java.lang.String servicePortName)
Sets the servicePortName |
void |
setSoapAction(java.lang.String soapAction)
Sets the soapAction |
void |
setStopClasses(java.lang.String stopClasses)
Sets the stopClasses |
void |
setStyle(java.lang.String style)
Sets the style |
void |
setTransport(java.lang.String transport)
Sets the transport |
void |
setUse(java.lang.String use)
Sets the use |
void |
setVerbose(boolean verbose)
Sets the verbose |
void |
setVoidReturn(java.lang.String voidReturn)
Sets the voidReturn |
void |
setWrapped(boolean value)
Sets the wrapped |
Methods inherited from class com.ibm.ws.webservices.tools.ant.Java2WSDL |
---|
execute, setAttributeFormDefault, setElementFormDefault |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
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 Java2WSDL()
Method Detail |
---|
public void setOutput(java.lang.String output)
setOutput
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
output
- The output WSDL pathname to set.public void setInput(java.lang.String input)
setInput
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
input
- The input WSDL to set.public void setOutputImpl(java.lang.String outputImpl)
setOutputImpl
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
outputImpl
- The outputImpl to set.public void setLocation(java.lang.String location)
setLocation
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
location
- The location to set.public void setLocationImport(java.lang.String locationImport)
setLocationImport
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
locationImport
- The locationImport to set.public void setClassName(java.lang.String className)
setClassName
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
className
- The className to set.public void setImplClass(java.lang.String implClass)
setImplClass
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
implClass
- The implClass to set.public void setSoapAction(java.lang.String soapAction)
setSoapAction
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
soapAction
- The soapAction to set.public void setServiceElementName(java.lang.String serviceElementName)
setServiceElementName
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
serviceElementName
- The serviceElementName to set.public void setServicePortName(java.lang.String servicePortName)
setServicePortName
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
servicePortName
- The servicePortName to set.public void setPortTypeName(java.lang.String portTypeName)
setPortTypeName
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
portTypeName
- The portTypeName to set.public void setBindingName(java.lang.String bindingName)
setBindingName
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
bindingName
- The bindingName to set.public void setNamespace(java.lang.String namespace)
setNamespace
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
namespace
- The namespace to set.public void setNamespaceImpl(java.lang.String namespaceImpl)
setNamespaceImpl
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
namespaceImpl
- The namespaceImpl to set.public void setVerbose(boolean verbose)
setVerbose
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
verbose
- The verbose to set.public void setDebug(boolean debug)
setDebug
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
debug
- The debug to set.public void setStopClasses(java.lang.String stopClasses)
setStopClasses
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
stopClasses
- The stopClasses to set.public void setMethods(java.lang.String methods)
setMethods
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
methods
- A space or comma separated list of the SEI
methods which should be exposed in the output
wsdl.public void setStyle(java.lang.String style)
setStyle
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
style
- The style to be used in the generated WSDL file.public void setUse(java.lang.String use)
setUse
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
use
- The use to set.public void setWrapped(boolean value)
setWrapped
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
wrapped
- The wrapped to set.public void setMIMEStyle(java.lang.String mimeStyle)
setMIMEStyle
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
mimeStyle
- The mimeStyle to set.public void setTransport(java.lang.String transport)
setTransport
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
transport
- The transport to set, either HTTP (default) or JMS.public void setBindingTypes(java.lang.String bindingTypes)
setBindingTypes
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
bindingTypes
- a String containing a colon-separated list of
binding types.public void setProperties(java.lang.String properties)
setProperties
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
properties
- a comma or blank seperated list of
public void setVoidReturn(java.lang.String voidReturn)
setVoidReturn
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
voidReturn
- The voidReturn to set.public void setExtraClasses(java.lang.String extraClasses)
setExtraClasses
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
extraClasses
- The extraClasses to set.public void setPropertiesFile(java.lang.String propertiesFile)
public void setClasspath(java.lang.String cp)
setClasspath
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
cp
- a String representing classpath.public com.ibm.ws.webservices.tools.ant.Java2WSDL.Mapping createMapping()
createMapping
in class com.ibm.ws.webservices.tools.ant.Java2WSDL
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |