O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required