IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

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 WebServices | Generate Java Code from Wsdl or Wadl 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.

Note

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 type mapping registry for mapping an XML qualified name to a Java class, using a specified Deserializer. The available options are:
  • 1.1
  • 1.2
Apache Axis
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:
  • Select this check box to have classes generated for schema arrays.
  • Clear the check box to have Java arrays used.
Apache Axis
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.
  • When this check box is cleared, no special treatment is applied to "wrapped" document/literal style operations.
  • When the check box is selected, a set of conditions is considered to decide whether top level elements are "unwrapped" and each component of the element should be treated as an argument of the operation. The following conditions are considered:
    • An input message consists of single part.
    • This single part is an element.
    • The element has the same name as the operation.
    • The element's complex type has no attributes.

Note

By default, the check box is selected.

Apache Axis
Status View the information in this read-only field to track and improve discrepancies when configuring the code generation procedure. All

See Also

Concepts:

Procedures:

Web Resources: