Web services
IntelliJ IDEA supports the development, packaging, and deployment of web services according to the following standards:
This functionality relies on the Jakarta EE: WebServices (JAX-WS) plugin, which you need to install and enable.
note
The Jakarta EE: WebServices (JAX-WS) plugin is not available in IntelliJ IDEA Community Edition.
Press CtrlAlt0S to open settings and then select Plugins.
Open the Marketplace tab, find the Jakarta EE: WebServices (JAX-WS) plugin, and click Install (restart the IDE if prompted).
IntelliJ IDEA provides the following development and packaging features:
Setting up the relevant module structure and downloading all the necessary resources based on the dedicated web services facet you specify.
Generating the necessary deployment descriptors, mapping and manifest files.
Packaging the web service files, with the EAR file structure following the rules defined by the Enterprise Web Services 1.1 specification.
In a Java module, enable support of the relevant web service.
Populate the module with the necessary classes and methods.
Compile the developed classes and expose them as a web service.
tip
To develop the client side of the web service before deploying the web service itself, generate a WSDL document.
Configure the artifacts to deploy.
warning
Do not forget to include the Web facet resources in the artifact.
Create a run configuration specifying the list of artifacts to deploy, each with the corresponding application context.
Run the application.
View and manage deployed web services in the Deployment console of the Run tool window.
Thanks for your feedback!