IntelliJ IDEA 2024.1 Help

Web service clients

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.

Develop Web services client applications

  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: 11 February 2024