IntelliJ IDEA 2020.2 Help

Expose Class As Web Service dialog

The dialog is available only through a dedicated intention action. To invoke it, position the caret at the class name and press Alt+Enter or click the yellow bulb iconicons.actions.intentionBulb.svg.

Use the dialog to configure Web service WSDL generation for an entire class, with all its methods exposed as Web service operations and deployed. The contents of the dialog depend on the Web service type.

ItemDescriptionWeb Service Type
Service NameUse this list to specify the name of the service to be published (e.g. empty text for ROOT context or mycontext for /mycontext). Apache Axis
Service Class NameIn this field, specify the class to expose as a Web service.All
Service NamespaceIn this field, type the Web service namespace prefix.Apache Axis
Service StyleUse this 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 list.

Apache Axis
Use of ItemsFrom this 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
Target ModuleAll
StatusView the information in this read-only field to track and improve discrepancies.All
Last modified: 19 August 2020