Creating SOAP web services

Our web application only retrieves the data from the database. However, we will create a web service that can insert data into database. This web service will be consumed by a desktop application we will create in Chapter 5, Desktop Development.

To create a web service, the first thing we need is to add a web service facet to our project. Open the Project Structure window and select the Facets option, then click on the Add button (Alt + Insert) and select the option WebServices. In the Select Parent Facet window, select Web and click on OK. After you add the facet, the panel will permit you to change the web service engine used; we will use the already selected engine (as in the following figure), so just click on the ...

Get Getting Started with IntelliJ IDEA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.