IntelliJ IDEA 2016.1 Help

Generate WSDL from Java Dialog

Tools | Web Services | Generate WSDL From Java Code


Use the dialog box to configure Web service WSDL generation and select the methods to be exposed as Web service operations and deployed. The contents of the dialog box depend on the Web service type.

ItemDescriptionWeb Service Type
Class to Generate WSDL ForThis read-only field shows the name of the classAll
Web Service URLIn this text box, specify the URL address the Web service will be available at.All
Methods for OperationIn this area, specify which methods of the selected class you want to be deployed as Web service operations.
  • Method to Expose - this column shows a list of all the methods within the selected class.
  • Add to Deployment - select the check box next to the methods you want to be deployed as operations.

If a method cannot be selected, a tooltip explains the reason.

Apache Axis
Web Service NamespaceIn this text box, type the Web service namespace prefix.Apache Axis
SOAP ActionFrom this drop-down list, select the value for the soapAction attribute of the <wsdlsoap:operation /> field. The available options are:
  • Default - when this option is selected, the soapAction is set according to the operation's meta data (usually to "").
  • Operation - when this option is selected, the soapAction is set to the operation's name.
  • None - when this option is selected, the soapAction is set to "".
Apache Axis
Binding StyleUse this drop-down list to specify the style of the WSDL document to be generated. The available options are:
  • RPC - select this option to have an rpc WSDL generated.

    This option is selected by default.

  • Document - select this option to have a Document WSDL generated.
  • Wrapped - select this option to have a WSDL generated using the wrapped approach.

    If you select this option, Literal is automatically pre-selected in the Use Items in Bindings drop-down list.

Apache Axis
Use Items in BindingsFrom this drop-down list, select how the generated WSDL document should be used. The available options are:
  • Literal - when this option is selected, the representation of the XML for the request is defined by the XML Schema.
  • Encoded - select this option to have the SOAP encoding specified in the generated WSDL.
Apache Axis
Type Mapping Version Use this drop-down list to specify the default type mapping registry for mapping the Java class to an XML qualified name, using a specified Serializer. The available options are:
  • 1.1 indicates SOAP 1.1 JAX-RPC compliant.
  • 1.2 indicates SOAP 1.1 encoded.
Apache Axis
StatusThis read-only field shows whether the specified URL address is correct.All

See Also

Last modified: 13 July 2016