axis2-wsdl2code:wsdl2code

Full name:

org.apache.axis2:axis2-wsdl2code-maven-plugin:1.7.7:wsdl2code

Description:

A Mojo for generating Java sources from a WSDL.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: generate-sources.

Optional Parameters

Name Type Since Description
allPorts boolean - Set this to true to generate code for all ports.
Default value is: false.
backwardCompatible boolean - (no description)
Default value is: false.
databindingName String - The databinding framework, which is being used by the generated sources.
Default value is: adb.
externalMapping String - (no description)
flattenFiles boolean - (no description)
Default value is: false.
generateAllClasses boolean - Whether to generate simply all classes. This is only valid in conjunction with "generateServerSide".
Default value is: false.
generateServerSide boolean - Whether server side sources are being generated.
Default value is: false.
generateServerSideInterface boolean - Whether to generate the server side interface.
Default value is: false.
generateServicesXml boolean - Whether a "services.xml" file is being generated.
Default value is: false.
generateTestcase boolean - Whether a test case is being generated.
Default value is: false.
httpProxyHost String - (no description)
httpProxyPassword String - (no description)
httpProxyPort String - (no description)
httpProxyUser String - (no description)
jibxBindingFile String - The binding file for JiBX databinding.
language String - The programming language of the generated sources.
Default value is: java.
namespaceToPackages String - Map of namespace URI to packages in the format uri1=package1,uri2=package2,.... Using this parameter is discouraged. In general, you should use the namespaceUris parameter. However, the latter cannot be set on the command line.
namespaceURIs NamespaceURIMapping[] - Map of namespace URI to packages. Example:
<namespaceURIs>
  <namespaceURI>
    <uri>uri1</uri>
    <packageName>package1</packageName>
  </namespaceURI>
  ...
</namespaceURI>

options Properties - Specify databinding specific extra options
outputDirectory File - The output directory, where the generated sources are being created.
Default value is: ${project.build.directory}/generated-sources/axis2/wsdl2code.
overWrite boolean - (no description)
Default value is: false.
packageName String - Package name of the generated sources; will be used to create a package structure below the output directory.
portName String - Port name, for which to generate sources. By default, sources will be generated for a randomly picked port.
repositoryPath String - (no description)
serviceName String - Service name, for which to generate sources. By default, sources will be generated for all services.
skipBuildXML boolean - (no description)
Default value is: false.
skipMessageReceiver boolean - (no description)
Default value is: false.
skipWSDL boolean - (no description)
Default value is: false.
suppressPrefixes boolean - (no description)
Default value is: false.
syncMode String - Mode, for which sources are being generated; either of "sync", "async" or "both".
Default value is: both.
targetResourcesFolderLocation String - (no description)
targetSourceFolderLocation String - (no description)
Default value is: src.
unpackClasses boolean - Whether to unpack classes.
Default value is: false.
unwrap boolean - This will select between wrapped and unwrapped during code generation. Maps to the -uw option of the command line tool.
Default value is: false.
wsdlFile String - The WSDL file, which is being read.
Default value is: src/main/resources/service.wsdl.
wsdlVersion String - (no description)

Parameter Details

allPorts:

Set this to true to generate code for all ports.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.allPorts}
  • Default: false

backwardCompatible:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.backwardCompatible}
  • Default: false

databindingName:

The databinding framework, which is being used by the generated sources.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.databindingName}
  • Default: adb

externalMapping:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.externalMapping}

flattenFiles:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.flattenFiles}
  • Default: false

generateAllClasses:

Whether to generate simply all classes. This is only valid in conjunction with "generateServerSide".
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.generateAllClasses}
  • Default: false

generateServerSide:

Whether server side sources are being generated.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.generateServerSide}
  • Default: false

generateServerSideInterface:

Whether to generate the server side interface.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.generateServerSideInterface}
  • Default: false

generateServicesXml:

Whether a "services.xml" file is being generated.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.generateServicesXml}
  • Default: false

generateTestcase:

Whether a test case is being generated.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.generateTestCase}
  • Default: false

httpProxyHost:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.http-proxy-host}

httpProxyPassword:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.http-proxy-password}

httpProxyPort:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.http-proxy-port}

httpProxyUser:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.http-proxy-user}

jibxBindingFile:

The binding file for JiBX databinding.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.jibxBindingFile}

language:

The programming language of the generated sources.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.language}
  • Default: java

namespaceToPackages:

Map of namespace URI to packages in the format uri1=package1,uri2=package2,.... Using this parameter is discouraged. In general, you should use the namespaceUris parameter. However, the latter cannot be set on the command line.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.namespaceToPackages}

namespaceURIs:

Map of namespace URI to packages. Example:
<namespaceURIs>
  <namespaceURI>
    <uri>uri1</uri>
    <packageName>package1</packageName>
  </namespaceURI>
  ...
</namespaceURI>
  • Type: org.apache.axis2.maven2.wsdl2code.NamespaceURIMapping[]
  • Required: No

options:

Specify databinding specific extra options
  • Type: java.util.Properties
  • Required: No
  • Expression: ${axis2.java2wsdl.options}

outputDirectory:

The output directory, where the generated sources are being created.
  • Type: java.io.File
  • Required: No
  • Expression: ${axis2.wsdl2code.target}
  • Default: ${project.build.directory}/generated-sources/axis2/wsdl2code

overWrite:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.overWrite}
  • Default: false

packageName:

Package name of the generated sources; will be used to create a package structure below the output directory.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.package}

portName:

Port name, for which to generate sources. By default, sources will be generated for a randomly picked port.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.portName}

repositoryPath:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.repositoryPath}

serviceName:

Service name, for which to generate sources. By default, sources will be generated for all services.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.serviceName}

skipBuildXML:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.skipBuildXML}
  • Default: false

skipMessageReceiver:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.skipMessageReceiver}
  • Default: false

skipWSDL:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.skipWSDL}
  • Default: false

suppressPrefixes:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.suppressPrefixes}
  • Default: false

syncMode:

Mode, for which sources are being generated; either of "sync", "async" or "both".
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.syncMode}
  • Default: both

targetResourcesFolderLocation:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.targetResourcesFolderLocation}

targetSourceFolderLocation:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.targetSourceFolderLocation}
  • Default: src

unpackClasses:

Whether to unpack classes.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.unpackClasses}
  • Default: false

unwrap:

This will select between wrapped and unwrapped during code generation. Maps to the -uw option of the command line tool.
  • Type: boolean
  • Required: No
  • Expression: ${axis2.wsdl2code.unwrap}
  • Default: false

wsdlFile:

The WSDL file, which is being read.
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.wsdlFile}
  • Default: src/main/resources/service.wsdl

wsdlVersion:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${axis2.wsdl2code.wsdlVersion}