Develop implementation templates, deployment descriptor templates, and bindings from a WSDL file

To develop the deployment descriptor templates from a Web Services Description Language (WSDL) file, you must obtain the Uniform Resource Locator (URL) of the WSDL file to use. If it is a local file, the URL has this format:

file:/path/file_name.wsdl

where path is the directory path that contains the file, and file_name is the name of the wsdl file. You can also specify local files using the absolute or relative file system path.

To generate implementation templates, bindings, and deployment descriptors, specify the -role develop-server parameter and the -container parameter when you run the WSDL2Java command:

WSDL2Java -verbose -role develop-server -container type wsdlURL

where type is Web for a Java bean-based implementation, and wsdlURL is the URL of the WSDL file.

If you specify the verbose parameter, the command displays a list of all generated files