The hotspot in the current IT world is optimized Web Services. Now the enterprises have started their vision towards next generation Web Services. This white paper gives information for the business managers and engineers in developing and deploying Web Services using Rational Application Developer (RAD) and WebSphere Application Server (WAS), respectively. This paper explains the process to:* create a Web Service and Web Server client* build security to that web service* deploy the web service in WebSphere application server
Development of Web Services using
Rational Application Developer &
WebSphere Application Server
2Table of Contents
Objectives................................................................................................................................ 5
Abbreviations........................................................................................................................... 5
What are Web Services? ......................................................................................................... 6
What are the Key Benefits of Web Services........................................................................... 6
Software Requirements............................................................................................................ 9
What is SOAP? ........................................................................................................................... 9
What is WSDL? ........................................................................................................................... 9
What is UDDI? ............................................................................................................................ 9
How Does it Work?................................................................................................................. 10
Creating Java Web Service.................................................................................................. 10
Creating Java Web Service Client....................................................................................... 10
Web Services Security........................................................................................................... 11
Web Services Security Risk Exposures.................................................................................. 11
Transport Level Security for Web Services ........................................................................... 13
HTTP Basic Authentication ..................................................................................................... 14
Enable Security on the Server (Global Security)................................................................. 14
HTTP Basic Authentication for WebService ......................................................................... 15
3HTTP Basic Authentication for WebService Client .............................................................. 16
HTTP/SSL (HTTPS) Authentication ........................................................................................... 16
Create Keystore, Truststore and Certificate for Web Service........................................... 17
Create SSL Configuration for the Web Services ................................................................. 17
Create Web Container Transport Chain to Use the New SSL Configuration ................. 18
Configure SSL for the Client................................................................................................... 18
Message Level Security for Web Services (WS- Security)................................................... 18
Authentication ....................................................................................................................... 19
Configure Web Services Client for Security Token ............................................................. 19
Configure Web Services for Security Token ........................................................................ 20
Enable TCP Monitor to Review SOAP Headers ................................................................... 21
Confidentiality........................................................................................................................ 21
Generate Key Stores and Certificates................................................................................. 22
Create Key Store and Certificate for Web Services .......................................................... 22
Create Key Store and Certificate for Client........................................................................ 22
Create the Certificate Files ................................................................................................... 23
Add the Public Cert... [download for more]