In this section of the sample scenario, you will create a Web Services client portlet to access the prime number generator Web Service.
Select File -> New -> Project .
Select Portlet Development from the left panel and Web Service Client Portlet Project from the right panel. Then click Next .
In the Define the Portlet Project window, enter WSClientPortlet as the Project Name .
Select New for the Enterprise application project.
Enter WSClientPortletEAR for the new project name.
Click Next to continue.
In the Web Service Portlet Parameters window, click Browse .
Select PrimesService.wsdl . Click OK .
Click Finish .