9.3 Creating a Web Services client portlet

 < 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

    graphics/09fig21.gif

  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

    graphics/09fig22.jpg

  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

    graphics/09fig23.jpg

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

    Figure 9-24. Web Service Portlet Parameters

    graphics/09fig24.jpg

  8. Select PrimesService.wsdl . Click OK .

    Figure 9-25. Selecting PrimesService.wsdl

    graphics/09fig25.jpg

  9. Click Finish .

Figure 9-26. Web Service portlet properties

graphics/09fig26.jpg

 < Day Day Up > 


IBM WebSphere Portal V5 A Guide for Portlet Application Development
IBM Websphere Portal V5: A Guide for Portlet Application Development
ISBN: 0738498513
EAN: 2147483647
Year: 2004
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net