Before you start
This series shows you how to develop and configure HTTPS Web services with IBM Rational Application Developer (hereafter called Application Developer).
HTTP, the most commonly used protocol for information exchange on the Internet, is an inherently insecure protocol, because all information is sent in clean text between unauthenticated peers over an insecure network.
HTTPS, which stands for HTTP via SSL (Secure Sockets Layer), allows client-side and server-side authentication through certificates. SSL is a protocol that transmits your communications over the Internet in an encrypted form. SSL ensures that the information is sent, unchanged, only to the server you intended to send it to. HTTPS Web services can be applied to all client types, including Java™ 2 Enterprise Edition (J2EE) client and Java 2 Platform, Standard Edition (J2SE) client.
HTTPS is the transport level security. It can be applied in combination with message level security (WS-Security). As a mature technology, SSL is widely used in today's production system.
In Part 1 of this tutorial, you will:
- Develop a Web services J2EE client
- Develop a Web services J2SE client
This will lay the groundwork for Part 2 of this series, when you will learn how to configure HTTPS Web services. In Part 2, you will:
- Create the Key Stores, trust stores and certificates using iKeyman for Web services and Web services client. Import the server certificate into client trust store. Import the client certificate into server trust store.
- Create an SSL configuration for Web services provider
- Create an SSL configuration for Web services client
- Modify the Web container to use the new SSL configuration for Web services provider
- Configure the Web service client deployment descriptor
- Test HTTPS Web services from J2EE client
- Test HTTPS Web services from J2SE client
Learn how to use Rational Application Developer to develop Web services, and how to develop J2EE Web services client and J2SE Web services client.
You need Application Developer v22.214.171.124 with the latest fixes. If you are not sure if your Application Developer is at the latest level, please go to IBM Rational Product Updater (hereafter called Product Updater) to find if there are new updates. You can start Product Updater from Windows Start Menu > All Programs > IBM Rational > Rational Product Updater. After the Product Updater is started, you can click "Find Updates" button to check if there are new updates available.
You also need to update the integrated IBM WebSphere® Application Server v6.0 test environment. By default, the integrated WebSphere Application Server v6.0 test environment shipped with Application Developer is at 6.0.0 level. You need to upgrade WebSphere test environment to 126.96.36.199 or above. If you've never upgraded your WebSphere test environment, you can use Product Updater to upgrade. The updates can be found in "Optioal Features" section of Product Updater.