A JAX-WS Web Service requires a Web Descriptor. In this section, we will create a web descriptor. Select File | New | Other. In New, select JBoss Tools Web | Web Descriptor and click on Next, as shown in the following screenshot:
Click on Browse for the Folder field to select the webapp/WEB-INF
folder. Specify Name as web.xml
, select Version as 3.1, and click on Finish, as shown in the following screenshot: