Java2WSDL command for JAX-RPC applications

 

+

Search Tips   |   Advanced Search

 

The Java2WSDL command-line tool maps Java classes to a WSDL file for JAX-RPC applications.

The Java2WSDL command accepts a Java class as input and produces a WSDL file that represents the input class. If a file exists at the output location, it is overwritten. The WSDL file that is generated by the Java2WSDL command contains WSDL and XML schema constructs that are automatically derived from the input class. You can override these default values with command-line arguments.

The Java2WSDL command is protocol independent; when you run the Java2WSDL command, you can specify command-line options that generate both SOAP and non-SOAP protocol bindings in the WSDL file. For each binding that can be generated, the Java2WSDL command has a binding generator to generate the WSDL for that binding.

 

Command line syntax and arguments

The command line syntax is:

Java2WSDL [argument...] class

The following command-line arguments are supported:

 

Required arguments

 

Important arguments

 

Other arguments

Review the API documentation for a complete list of APIs. You can also review several articles about the development of Web services at Web services: Resources for learning.


 

Related tasks

Develop a WSDL file for JAX-RPC applications

 

Related Reference

Map between Java language, WSDL and XML for JAX-RPC applications
WSDL2Java command for JAX-RPC applications