Generate Java Code from WSDL or WADL Dialog
The dialog box opens after you create a Java module and enable Web services client development in it. To access the dialog box at any time during the development, select the desired client module in the Project view and choose on the context menu.
Use the dialog box to have the client-side XML-Java bindings generated based on the desired WSDL descriptor of the target Web service.
Technically, IntelliJ IDEA generates Java code from WSDL using third party libraries that are controlled through a command line. This command line is assembled of the data you enter in the fields of this dialog box.
|Item||Description||Web Service Client Type|
|Web service wsdl url||Use this drop-down list to specify the location of the target Web service WSDL descriptor.||All|
|User Name and Password||In these text boxes, type the credentials for accessing the WSDL URL address. The fields are mandatory if the WSDL location requires authentication.||JAX-WS|
|Output Path||Use this drop-down list to specify the module source directory to place the generated files in.||All|
|Package Prefix||Use this drop-down list to specify the package for the compiled Java classes.||All|
|Output Mode||Use this drop-down list to specify whether you want to generate Java code only for the client side or for the server side as well.||Apache Axis|
|Type Mapping Version||Use this drop-down list to specify the default
registry for mapping an XML qualified name to a Java class, using a specified Deserializer.
The available options are:
|Allow Extensions||Select this check box to have Java code generated for the extension points contained in the WSDL file.||All|
|Generate TestCase||Select this check box to have an additional JUnit test case class generated for testing purposes.||Apache Axis|
|Generate Classes for Schema Arrays||Do one of the following:
|Generate Unreferenced Elements||Select this check box to have Java code generated for unreferenced (declared in the schema but not used) elements as well.||Apache Axis|
|Support Wrapped Document/Literal Style||Use this check box to configure processing of "wrapped" document/literal,
which is a document literal variation, that wraps parameters as children of the root element.
By default, the check box is selected.
|Status||View the information in this read-only field to track and improve discrepancies when configuring the code generation procedure.||All|