Java2WSDL command

The Java2WSDL command maps a Java class to a WSDL file by following the Java API for XML-based remote procedure call (JAX-RPC) specification. The Java2WSDL command accepts a Java class as input and produces a WSDL file representing the input class. If there is an existing file at the output location, it is overwritten. The WSDL file 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.


Command line syntax and arguments

The command line syntax is

Java2WSDL [argument...] class

The following command-line arguments are supported:

Required arguments

Important arguments


See Also

Mapping between Java language, WSDL and XML
WSDL2Java command