IntelliJ IDEA 2022.1 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.

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, declare the variables that will contain the request to the service and the service response.

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

  6. Run the application.

Last modified: 10 August 2022