IntelliJ IDEA 2016.3 Help

Expose Class As Web Service Dialog

Alt+Enter - Expose Class as Web Service

The dialog box is available only through a dedicated intention action. To invoke it, position the cursor at the class name and press Alt+Enter or click the yellow bulb icon intentionBulb.png.

Use the dialog box 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 box depend on the Web service type.

ItemDescriptionWeb Service Type
Service NameUse this drop-down 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 text box, specify the class to expose as a Web service.All
Service NamespaceIn this text box, type the Web service namespace prefix.Apache Axis
Service 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 of ItemsFrom 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
Target ModuleAll
StatusView the information in this read-only field to track and improve discrepancies.All

See Also

Last modified: 21 March 2017