Axis-java2wsdl Task Generates a WSDL description from a Java class. |
Description
Generates a WSDL description from a Java class.
Parameters
> Attribute | Description | Type | Requirement
> bindingname | The name to use use for the binding element. If not specified, the value of the `servicePortName` + "SoapBinding" is used. | String | Optional
> classname | the class name to import, eg. org.example.Foo. Required. The class must be on the classpath. | String
> exclude | Comma separated list of methods to exclude from the wsdl file. | String
> extraclasses | A comma separated list of classes to add to the classpath. | String
> implclass | Sometimes extra information is available in the implementation class file. Use this option to specify the implementation class. | String
> importschema | Option attribute that indicates the name of an XML Schema file that should be physically imported into the generated WSDL. | File
> input | Optional attribute that indicates the name of the input wsdl file. The output wsdl file will contain everything from the input wsdl file plus the new constructs. If a new construct is already present in the input wsdl file, it is not added. This option is useful for constructing a wsdl file with multiple ports, bindings, or portTypes. | File
> 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. | String
> locationimport | the location of the interface WSDL when generating an implementation WSDL Required when `outputImpl` is set | String
> methods | If this option is specified, only the indicated methods in your interface class will be exported into the WSDL file. The methods list must be comma separated. If not specified, all methods declared in the interface class will be exported into the WSDL file | String
> namespace | the target namespace. Required. | String
> namespaceimpl | Namespace of the implementation WSDL. | String
> output | The name of the output WSDL file. If not specified, a suitable default WSDL file is written into the current directory. | File
> outputimpl | Use this option to indicate the name of the output implementation WSDL file. If specified, Java2WSDL will produce separate interface and implementation WSDL files. If not, a single WSDL file is generated | File
> porttypename | Indicates the name to use use for the portType element. If not specified, the class-of-portType name is used. | String
> serviceelementname | the name of the service element. If not specified, the service element is the `portTypeName`Service. | String
> serviceportname | service port name (obtained from location if not specified) | String
> soapaction | The setter for the "soapAction" attribute | String
> stopclasses | Comma separated list of classes which stop the Java2WSDL inheritance search. | String
> 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. | String
> typemappingversion | the default type mapping registry to use. Either 1.1 or 1.2. Default is 1.1 | "1.1", "1.2"
> use | Set the use option | String
> useinheritedmethods | should inherited methods be exported too? Default=false | boolean
Parameters as nested elements
> complextype (org.apache.axis.tools.ant.wsdl.ComplexType)
> Nested element for Complex Types. Each Complex Type uses the following fields:
> mapping (org.apache.axis.tools.ant.wsdl.NamespaceMapping)
> add a mapping of namespaces to packages
> mappingset (org.apache.axis.tools.ant.wsdl.MappingSet)
> add a mapping of namespaces to packages
> classpath (org.apache.tools.ant.types.Path)
> add a classpath containing the java classes.
Copyright © 2000-2003, Apache Software Foundation