IBM Websphere Portal V5: A Guide for Portlet Application Development

 < Day Day Up > 

In this section of the sample scenario, you will create a Web Services client portlet to access the prime number generator Web Service.

  1. Select File -> New -> Project .

    Figure 9-21. Creating a new project

  2. Select Portlet Development from the left panel and Web Service Client Portlet Project from the right panel. Then click Next .

    Figure 9-22. Selecting Web Service Client Portlet Project

  3. In the Define the Portlet Project window, enter WSClientPortlet as the Project Name .

  4. Select New for the Enterprise application project.

  5. Enter WSClientPortletEAR for the new project name.

  6. Click Next to continue.

    Figure 9-23. Defining the portlet project

  7. In the Web Service Portlet Parameters window, click Browse .

    Figure 9-24. Web Service Portlet Parameters

  8. Select PrimesService.wsdl . Click OK .

    Figure 9-25. Selecting PrimesService.wsdl

  9. Click Finish .

Figure 9-26. Web Service portlet properties

 < Day Day Up > 

Категории