IntelliJ IDEA 2021.2 Help

Web service clients

In this section:

Introduction

With IntelliJ IDEA, you can develop the client side for Web services of the following most common types:

  • GlassFish/JAXWS2.X RI/Netro 1.X/JWSDP2.0 for developing JAX-WS Web services clients.

  • Apache Axis for developing Apache Axis Web services clients.

  • JAX-RS for developing RESTful Web Services clients.

You can also enable and manually configure support of the following additional WS engines:

Developing Web services client applications

To develop a Web services client application, follow these general steps:

  1. Create a Java module and enable support of the desired Web services client in it.

  2. Generate the client-side XML-Java binding.

  3. Modify the generated code to have the client properly initialized.

  4. To enable data exchange with the Web service, do one of the following:

  5. Populate the module with the necessary classes and methods to implement the user's interface.

  6. Run the application.

Last modified: 02 August 2022