IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

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.

Item Description Web Service Type
Class to Generate WSDL For This read-only field shows the name of the class All
Web Service URL In this text box, specify the URL address the Web service will be available at. All
Methods for Operation In 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 Namespace In this text box, type the Web service namespace prefix. Apache Axis
SOAP Action From 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 Style Use 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.

    Note

    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.

    Note

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

Apache Axis
Use Items in Bindings From 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
Status This read-only field shows whether the specified URL address is correct. All

See Also

Procedures:

Web Resources: