WAS v8.5 > Reference > Command-line utilities

Java2WSDL command for JAX-RPC applications

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

The Java2WSDL command maps a Java class to a WSDL file by following the Java API for XML-based Remote Procedure Call (JAX-RPC) 1.1 specification.

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 generated by the Java2WSDL command contains WSDL and XML schema constructs that are automatically derived from the input class. We can override these default values with command-line arguments.

The Java2WSDL command is protocol independent; when we run the Java2WSDL command, we 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:

The following command-line arguments are supported:


Required arguments


Important arguments


Other arguments


Related concepts:

Development and assembly tools


Related


Implement web services applications with JAX-RPC
Implement web services applications from existing WSDL files with JAX-RPC


Reference:

Map between Java language, WSDL and XML for JAX-RPC applications
WSDL2Java command for JAX-RPC applications
Web services specifications and APIs


+

Search Tips   |   Advanced Search