java2wsdl:generate-wsdl

Full name:

org.apache.axis:java2wsdl-maven-plugin:1.4.1-SNAPSHOT:generate-wsdl

Description:

Generates a WSDL description from a Java class.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.

Required Parameters

Name Type Since Description
className String - The name of the class to generate a WSDL for. The class must be on the classpath.
location String - The url of the location of the service. The name after the last slash or backslash is the name of the service port (unless overridden by the -s option). The service port address location attribute is assigned the specified value.
namespace String - The target namespace for the interface.
output File - The name of the output WSDL file.

Optional Parameters

Name Type Since Description
extraClasses String[] - A list of classes to include in the schema generation.
mappings Mapping[] - Mappings of packages to namespaces.
portTypeName String - Indicates the name to use use for the portType element. If not specified, the class-of-portType name is used.
style String - The style of the WSDL document: RPC, DOCUMENT or WRAPPED. If RPC, a rpc/encoded wsdl is generated. If DOCUMENT, a document/literal wsdl is generated. If WRAPPED, a document/literal wsdl is generated using the wrapped approach.
use String - Set the use option

Parameter Details

className:

The name of the class to generate a WSDL for. The class must be on the classpath.
  • Type: java.lang.String
  • Required: Yes

extraClasses:

A list of classes to include in the schema generation.
  • Type: java.lang.String[]
  • Required: No

location:

The url of the location of the service. The name after the last slash or backslash is the name of the service port (unless overridden by the -s option). The service port address location attribute is assigned the specified value.
  • Type: java.lang.String
  • Required: Yes

mappings:

Mappings of packages to namespaces.
  • Type: org.apache.axis.tools.maven.shared.nsmap.Mapping[]
  • Required: No

namespace:

The target namespace for the interface.
  • Type: java.lang.String
  • Required: Yes

output:

The name of the output WSDL file.
  • Type: java.io.File
  • Required: Yes

portTypeName:

Indicates the name to use use for the portType element. If not specified, the class-of-portType name is used.
  • Type: java.lang.String
  • Required: No

style:

The style of the WSDL document: RPC, DOCUMENT or WRAPPED. If RPC, a rpc/encoded wsdl is generated. If DOCUMENT, a document/literal wsdl is generated. If WRAPPED, a document/literal wsdl is generated using the wrapped approach.
  • Type: java.lang.String
  • Required: No

use:

Set the use option
  • Type: java.lang.String
  • Required: No