public class Axis1
extends AbstractAxisConfig
Axis 1 Configuration container.
| Constructor and Description |
|---|
Axis1(org.gradle.api.Project project,
java.lang.String confname)
Axis 1 Configuration container.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowInvalidURL()
This flag is used to allow Stub generation even if WSDLExtension endpoint URL is not a valid URL.
It's the responsibility of the user to update the endpoint value before using generated classes
default=false
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getAllowInvalidURLProvider()
Provider for allowInvalidURL property.
|
java.lang.String |
getDeployScope()
Add scope to deploy.wsdd:
|
org.gradle.api.provider.Provider<java.lang.String> |
getDeployScopeProvider()
Provider for deployScope property.
|
java.lang.String |
getFactory()
Used to extend the functionality of the WSDL2Java emitter.
The argument is the name of a class which extends JavaWriterFactory.
|
org.gradle.api.provider.Provider<java.lang.String> |
getFactoryProvider()
Provider for factory property.
|
boolean |
getGenerateAllClasses()
Generate code for all elements, even unreferenced ones. By default,
WSDL2Java only generates code for those elements in the WSDLExtension file that are referenced.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getGenerateAllClassesProvider()
Provider for generateAllClasses property.
|
boolean |
getHelperGen()
Emits separate Helper classes for meta data.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getHelperGenProvider()
Provider for helperGen property.
|
java.lang.String |
getImplementationClassName()
Set the name of the implementation class. Especially useful when exporting an existing class as
a web service using java2wsdl followed by wsdl2java. If you are using the skeleton deploy option
you must make sure, after generation, that your implementation class implements the port type name
interface generated by wsdl2java. You should also make sure that all your exported methods throws
java.lang.RemoteException.
|
org.gradle.api.provider.Provider<java.lang.String> |
getImplementationClassNameProvider()
Provider for implementationClassName property.
|
boolean |
getNoImports()
Only generate code for the WSDLExtension document that appears on the command line if this
value is true. The default behaviour is to generate files for all WSDLExtension documents,
the immediate one and all imported ones.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getNoImportsProvider()
Provider for noImports property.
|
boolean |
getNoWrapped()
If this value is true, it turns off the special treatment of what is called "wrapped" document/literal
style operations. By default, WSDL2Java will recognize the following conditions:
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getNoWrappedProvider()
Provider for noWrapped property.
|
java.lang.String |
getNsExclude()
Namescape to specifically include in the generated code (defaults to
all namespaces unless specifically excluded with the -x option).
|
org.gradle.api.provider.Provider<java.lang.String> |
getNsExcludeProvider()
Provider for nsExclude property.
|
java.lang.String |
getNsInclude()
Namespace to specifically exclude from the generated code (defaults to
none excluded until first namespace included with -i option).
|
org.gradle.api.provider.Provider<java.lang.String> |
getNsIncludeProvider()
Provider for nsInclude property.
|
java.io.File |
getOutputDir()
Output directory for the generated code.
|
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getOutputDirProvider()
Provider for outputDir property.
|
java.lang.String |
getPassword()
This password is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java.
If the URI contains a password, this will override the command line switch.
|
org.gradle.api.provider.Provider<java.lang.String> |
getPasswordProvider()
Provider for password property.
|
boolean |
getServerSide()
Emit the server-side bindings for the web service.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getServerSideProvider()
Provider for serverSide property.
|
boolean |
getSkeletonDeploy()
Deploy either the skeleton (true) or the implementation (false) in deploy.wsdd. In other words, for "true"
the service clause in the deploy.wsdd file will look something like:
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getSkeletonDeployProvider()
Provider for skeletonDeploy property.
|
java.lang.String |
getTaskName()
Calculate the task name for the task.
|
int |
getTimeout()
Timeout in seconds. The default is 240.
Use -1 to disable the timeout.
|
org.gradle.api.provider.Provider<java.lang.Integer> |
getTimeoutProvider()
Provider for timeout property.
|
java.lang.String |
getTypeMappingVersion()
Indicate 1.1 or 1.2. The default is 1.2 (SOAP 1.2 JAX-RPC compliant).
|
org.gradle.api.provider.Provider<java.lang.String> |
getTypeMappingVersionProvider()
Provider for typeMappingVersion property.
|
java.lang.String |
getUserName()
This username is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java.
If the URI contains a username, this will override the command line switch. An example
of a URL with a username and password is: http://user:password@hostname:port/path/to/service?WSDL
|
org.gradle.api.provider.Provider<java.lang.String> |
getUserNameProvider()
Provider for userName property.
|
boolean |
getWrapArrays()
When processing a schema like this:
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getWrapArraysProvider()
Provider for wrapArrays property.
|
org.gradle.api.NamedDomainObjectContainer<com.intershop.gradle.wsdl.extension.data.WSDLProperty> |
getWsdlPropertiesContainer() |
void |
setAllowInvalidURL(boolean p)
This flag is used to allow Stub generation even if WSDLExtension endpoint URL is not a valid URL.
It's the responsibility of the user to update the endpoint value before using generated classes
default=false
|
void |
setDeployScope(java.lang.String p)
Add scope to deploy.wsdd:
|
void |
setFactory(java.lang.String p)
Used to extend the functionality of the WSDL2Java emitter.
The argument is the name of a class which extends JavaWriterFactory.
|
void |
setGenerateAllClasses(boolean p)
Generate code for all elements, even unreferenced ones. By default,
WSDL2Java only generates code for those elements in the WSDLExtension file that are referenced.
|
void |
setHelperGen(boolean p)
Emits separate Helper classes for meta data.
|
void |
setImplementationClassName(java.lang.String p)
Set the name of the implementation class. Especially useful when exporting an existing class as
a web service using java2wsdl followed by wsdl2java. If you are using the skeleton deploy option
you must make sure, after generation, that your implementation class implements the port type name
interface generated by wsdl2java. You should also make sure that all your exported methods throws
java.lang.RemoteException.
|
void |
setNoImports(boolean p)
Only generate code for the WSDLExtension document that appears on the command line if this
value is true. The default behaviour is to generate files for all WSDLExtension documents,
the immediate one and all imported ones.
|
void |
setNoWrapped(boolean p)
If this value is true, it turns off the special treatment of what is called "wrapped" document/literal
style operations. By default, WSDL2Java will recognize the following conditions:
|
void |
setNsExclude(java.lang.String p)
Namescape to specifically include in the generated code (defaults to
all namespaces unless specifically excluded with the -x option).
|
void |
setNsInclude(java.lang.String p)
Namespace to specifically exclude from the generated code (defaults to
none excluded until first namespace included with -i option).
|
void |
setOutputDir(java.io.File value)
Output directory for the generated code.
|
void |
setPassword(java.lang.String p)
This password is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java.
If the URI contains a password, this will override the command line switch.
|
void |
setServerSide(boolean p)
Emit the server-side bindings for the web service.
|
void |
setSkeletonDeploy(boolean p)
Deploy either the skeleton (true) or the implementation (false) in deploy.wsdd. In other words, for "true"
the service clause in the deploy.wsdd file will look something like:
|
void |
setTimeout(int p)
Timeout in seconds. The default is 240.
Use -1 to disable the timeout.
|
void |
setTypeMappingVersion(java.lang.String p)
Indicate 1.1 or 1.2. The default is 1.2 (SOAP 1.2 JAX-RPC compliant).
|
void |
setUserName(java.lang.String p)
This username is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java.
If the URI contains a username, this will override the command line switch. An example
of a URL with a username and password is: http://user:password@hostname:port/path/to/service?WSDL
|
void |
setWrapArrays(boolean p)
When processing a schema like this:
|
void |
wsdlProperties(groovy.lang.Closure<com.intershop.gradle.wsdl.extension.data.WSDLProperty> c)
Names and values of a properties for use by the custom GeneratorFactory.
|
addArg, addArgs, getArgs, getArgumentsProvider, getGenerateTestcase, getGenerateTestcaseProvider, getName, getNamespacePackageMappingFile, getNamespacePackageMappingFileProvider, getNamespacePackageMappingsContainer, getPackageName, getPackageNameProvider, getProject, getSourceSetName, getSourceSetNameProvider, getWsdlFile, getWsdlFileProvider, namespacePackageMappings, setArgs, setGenerateTestcase, setNamespacePackageMappingFile, setPackageName, setSourceSetName, setWsdlFilepublic Axis1(org.gradle.api.Project project,
java.lang.String confname)
Axis 1 Configuration container.
public org.gradle.api.NamedDomainObjectContainer<com.intershop.gradle.wsdl.extension.data.WSDLProperty> getWsdlPropertiesContainer()
public org.gradle.api.provider.Provider<java.lang.Boolean> getNoImportsProvider()
Provider for noImports property.
public boolean getNoImports()
Only generate code for the WSDLExtension document that appears on the command line if this value is true. The default behaviour is to generate files for all WSDLExtension documents, the immediate one and all imported ones.
public void setNoImports(boolean p)
Only generate code for the WSDLExtension document that appears on the command line if this value is true. The default behaviour is to generate files for all WSDLExtension documents, the immediate one and all imported ones.
public org.gradle.api.provider.Provider<java.lang.Integer> getTimeoutProvider()
Provider for timeout property.
public int getTimeout()
Timeout in seconds. The default is 240. Use -1 to disable the timeout.
public void setTimeout(int p)
Timeout in seconds. The default is 240. Use -1 to disable the timeout.
public org.gradle.api.provider.Provider<java.lang.Boolean> getNoWrappedProvider()
Provider for noWrapped property.
public boolean getNoWrapped()
If this value is true, it turns off the special treatment of what is called "wrapped" document/literal style operations. By default, WSDL2Java will recognize the following conditions:
If an input message has is a single part.
The part is an element.
The element has the same name as the operation
The element's complex type has no attributes If this value is true, WSDL2Java will 'unwrap' the top level element, and treat each of the components of the element as arguments to the operation. This type of WSDLExtension is the default for Microsoft .NET web services, which wrap up RPC style arguments in this top level schema element.
public void setNoWrapped(boolean p)
If this value is true, it turns off the special treatment of what is called "wrapped" document/literal style operations. By default, WSDL2Java will recognize the following conditions:
If an input message has is a single part.
The part is an element.
The element has the same name as the operation
The element's complex type has no attributes If this value is true, WSDL2Java will 'unwrap' the top level element, and treat each of the components of the element as arguments to the operation. This type of WSDLExtension is the default for Microsoft .NET web services, which wrap up RPC style arguments in this top level schema element.
public org.gradle.api.provider.Provider<java.lang.Boolean> getServerSideProvider()
Provider for serverSide property.
public boolean getServerSide()
Emit the server-side bindings for the web service.
public void setServerSide(boolean p)
Emit the server-side bindings for the web service.
public org.gradle.api.provider.Provider<java.lang.Boolean> getSkeletonDeployProvider()
Provider for skeletonDeploy property.
public boolean getSkeletonDeploy()
Deploy either the skeleton (true) or the implementation (false) in deploy.wsdd. In other words, for "true" the service clause in the deploy.wsdd file will look something like:
public void setSkeletonDeploy(boolean p)
Deploy either the skeleton (true) or the implementation (false) in deploy.wsdd. In other words, for "true" the service clause in the deploy.wsdd file will look something like:
public org.gradle.api.provider.Provider<java.lang.String> getDeployScopeProvider()
Provider for deployScope property.
public java.lang.String getDeployScope()
Add scope to deploy.wsdd:
APPLICATION -> "Application",
REQUEST -> "Request", or
SESSION -> "Session". If this option does not appear, no scope tag appears in deploy.wsdd, which the Axis runtime defaults to "Request".
public void setDeployScope(java.lang.String p)
Add scope to deploy.wsdd:
APPLICATION -> "Application",
REQUEST -> "Request", or
SESSION -> "Session". If this option does not appear, no scope tag appears in deploy.wsdd, which the Axis runtime defaults to "Request".
public org.gradle.api.provider.Provider<java.lang.Boolean> getGenerateAllClassesProvider()
Provider for generateAllClasses property.
public boolean getGenerateAllClasses()
Generate code for all elements, even unreferenced ones. By default, WSDL2Java only generates code for those elements in the WSDLExtension file that are referenced.
A note about what it means to be referenced. We cannot simply say: start with the services, generate all bindings referenced by the service, generate all portTypes referenced by the referenced bindings, etc. What if we're generating code from a WSDLExtension file that only contains portTypes, messages, and types? If WSDL2Java used service as an anchor, and there's no service in the file, then nothing will be generated. So the anchor is the lowest element that exists in the WSDLExtension file in the order:
types
portTypes
bindings
services For example, if a WSDLExtension file only contained types, then all the listed types would be generated. But if a WSDLExtension file contained types and a portType, then that portType will be generated and only those types that are referenced by that portType.
Note that the anchor is searched for in the WSDLExtension file appearing on the command line, not in imported WSDLExtension files. This allows one WSDLExtension file to import constructs defined in another WSDLExtension file without the nuisance of having all the imported WSDLExtension file's constructs generated.
public void setGenerateAllClasses(boolean p)
Generate code for all elements, even unreferenced ones. By default, WSDL2Java only generates code for those elements in the WSDLExtension file that are referenced.
A note about what it means to be referenced. We cannot simply say: start with the services, generate all bindings referenced by the service, generate all portTypes referenced by the referenced bindings, etc. What if we're generating code from a WSDLExtension file that only contains portTypes, messages, and types? If WSDL2Java used service as an anchor, and there's no service in the file, then nothing will be generated. So the anchor is the lowest element that exists in the WSDLExtension file in the order:
types
portTypes
bindings
services For example, if a WSDLExtension file only contained types, then all the listed types would be generated. But if a WSDLExtension file contained types and a portType, then that portType will be generated and only those types that are referenced by that portType.
Note that the anchor is searched for in the WSDLExtension file appearing on the command line, not in imported WSDLExtension files. This allows one WSDLExtension file to import constructs defined in another WSDLExtension file without the nuisance of having all the imported WSDLExtension file's constructs generated.
public org.gradle.api.provider.Provider<java.lang.String> getTypeMappingVersionProvider()
Provider for typeMappingVersion property.
public java.lang.String getTypeMappingVersion()
Indicate 1.1 or 1.2. The default is 1.2 (SOAP 1.2 JAX-RPC compliant).
public void setTypeMappingVersion(java.lang.String p)
Indicate 1.1 or 1.2. The default is 1.2 (SOAP 1.2 JAX-RPC compliant).
public org.gradle.api.provider.Provider<java.lang.String> getFactoryProvider()
Provider for factory property.
public java.lang.String getFactory()
Used to extend the functionality of the WSDL2Java emitter. The argument is the name of a class which extends JavaWriterFactory.
public void setFactory(java.lang.String p)
Used to extend the functionality of the WSDL2Java emitter. The argument is the name of a class which extends JavaWriterFactory.
public org.gradle.api.provider.Provider<java.lang.Boolean> getHelperGenProvider()
Provider for helperGen property.
public boolean getHelperGen()
Emits separate Helper classes for meta data.
public void setHelperGen(boolean p)
Emits separate Helper classes for meta data.
public org.gradle.api.provider.Provider<java.lang.String> getUserNameProvider()
Provider for userName property.
public java.lang.String getUserName()
This username is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java. If the URI contains a username, this will override the command line switch. An example of a URL with a username and password is: http://user:password@hostname:port/path/to/service?WSDL
public void setUserName(java.lang.String p)
This username is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java. If the URI contains a username, this will override the command line switch. An example of a URL with a username and password is: http://user:password@hostname:port/path/to/service?WSDL
public org.gradle.api.provider.Provider<java.lang.String> getPasswordProvider()
Provider for password property.
public java.lang.String getPassword()
This password is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java. If the URI contains a password, this will override the command line switch.
public void setPassword(java.lang.String p)
This password is used in resolving the WSDLExtension-URI provided as the input to WSDL2Java. If the URI contains a password, this will override the command line switch.
public org.gradle.api.provider.Provider<java.lang.String> getImplementationClassNameProvider()
Provider for implementationClassName property.
public java.lang.String getImplementationClassName()
Set the name of the implementation class. Especially useful when exporting an existing class as a web service using java2wsdl followed by wsdl2java. If you are using the skeleton deploy option you must make sure, after generation, that your implementation class implements the port type name interface generated by wsdl2java. You should also make sure that all your exported methods throws java.lang.RemoteException.
public void setImplementationClassName(java.lang.String p)
Set the name of the implementation class. Especially useful when exporting an existing class as a web service using java2wsdl followed by wsdl2java. If you are using the skeleton deploy option you must make sure, after generation, that your implementation class implements the port type name interface generated by wsdl2java. You should also make sure that all your exported methods throws java.lang.RemoteException.
public org.gradle.api.provider.Provider<java.lang.Boolean> getWrapArraysProvider()
Provider for wrapArrays property.
public boolean getWrapArrays()
When processing a schema like this:
public void setWrapArrays(boolean p)
When processing a schema like this:
public org.gradle.api.provider.Provider<java.lang.Boolean> getAllowInvalidURLProvider()
Provider for allowInvalidURL property.
public boolean getAllowInvalidURL()
This flag is used to allow Stub generation even if WSDLExtension endpoint URL is not a valid URL. It's the responsibility of the user to update the endpoint value before using generated classes default=false
public void setAllowInvalidURL(boolean p)
This flag is used to allow Stub generation even if WSDLExtension endpoint URL is not a valid URL. It's the responsibility of the user to update the endpoint value before using generated classes default=false
public org.gradle.api.provider.Provider<java.lang.String> getNsIncludeProvider()
Provider for nsInclude property.
public java.lang.String getNsInclude()
Namespace to specifically exclude from the generated code (defaults to none excluded until first namespace included with -i option).
public void setNsInclude(java.lang.String p)
Namespace to specifically exclude from the generated code (defaults to none excluded until first namespace included with -i option).
public org.gradle.api.provider.Provider<java.lang.String> getNsExcludeProvider()
Provider for nsExclude property.
public java.lang.String getNsExclude()
Namescape to specifically include in the generated code (defaults to all namespaces unless specifically excluded with the -x option).
public void setNsExclude(java.lang.String p)
Namescape to specifically include in the generated code (defaults to all namespaces unless specifically excluded with the -x option).
public void wsdlProperties(groovy.lang.Closure<com.intershop.gradle.wsdl.extension.data.WSDLProperty> c)
Names and values of a properties for use by the custom GeneratorFactory.
public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getOutputDirProvider()
Provider for outputDir property.
public java.io.File getOutputDir()
Output directory for the generated code.
public void setOutputDir(java.io.File value)
Output directory for the generated code.
public java.lang.String getTaskName()
Calculate the task name for the task.