In this section we will create a WebLogic web service project, for which a template is provided in the New wizard. Select File | New | Other and in the New wizard select Oracle | WebLogic | Web Services | Web Service Project. Click on Next, as follows:
Specify a project name (HelloWebService
) in the Project name field and configure a new Target Runtime for Oracle WebLogic Server 12c (12.1.1), as discussed in Chapter 1, EJB 3.0 Database Persistence. Click on Next, as follows:
In Java settings select the source folders on the build path as src
and the default output folder as build/classes
. Click on Next. In Web Module settings specify the context root in the Context root field; the default is the same name as the project name. Then, specify the content directory in the Content directory field (the default is WebContent) and click on Finish. In the Open Associated Perspective? dialog box click on Yes. A web service project gets added, as shown in the following...