18.2. The Web service client portlet
Portals generally serve as clients to back end services, so being able to quickly build portlets that can call Web services is essential. In this application, you will see how easily you can search for a known Web service published on the Internet and create a portlet client using JSF components to access it. You will build a portlet that calls a Traffic Condition Web service.
Note
A network connection to the Internet will be needed to run this example.
18.2.1. Creating the project
We will create the Traffic Condition project as a Portlet Project (JSR168) project. Follow these steps to create it:
1. | In the menu, select File → New → Project.
|
2. | In the New Project window, select the wizard for Portlet Project ... |
Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.