Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Configuring secured Web service calls from WebSphere Process Server V7 to a non-WebSphere server via SSL

Photo of Keerthana Sharath
Keerthana Sharath is an Application Integration and Middleware Solutions Specialist with WebSphere Lab Services at IBM India Software Labs. She has worked on customer engagements involving various products, such as WebSphere Application Server, WebSphere Process Server, ILOG, and WebSphere Lombardi. She has also worked with WebSphere Education Development to develop and deliver WebSphere courses. Keetharna is a certified WebSphere Application Server Administrator, Process Server Administrator, and Lombardi Business Process Developer.

Summary:  This tutorial provides steps to configure an SSL for a Web service call from WebSphere® Process Server to a non-WebSphere Web service. It covers generating client and sample server keys, importing certificates, configuring the SOAP UI for SSL, mocking up the Web service, and testing the SSL.

Date:  21 Dec 2011
Level:  Intermediate PDF:  A4 and Letter (1666 KB | 23 pages)Get Adobe® Reader®

Activity:  26153 views
Comments:  

Before you start

Configuring a Secure Sockets Layer (SSL) is important to implement security during Web service calls. The SSL is used to transport SOAP messages between a client and a Web service over HTTP.

This tutorial provides steps to configure an SSL for a Web service request from WebSphere Process Server (hereafter called Process Server) to a Web service running outside the WebSphere environment. In many scenarios, during the development of Process Server and WebSphere Enterprise Service Bus (ESB) modules, a developer is dependent on the external systems or Web services to be available to configure and test the SSL. This tutorial isolates the need of having the endpoint available and running by generating the sample server keys and mocking the Web services by using the SOAP UI to test and configure the SSL.

Consider the Process Server module as a client and the endpoint outside the WebSphere environment as the server. Since the client connects to the server, the client has to import the server's public key into its truststore, and the server decrypts the data using its private key as shown in Figure 1.


Figure 1. Client server key and trust stores
Client server key and trust stores

In the above scenario, the SSL is configured for server authentication. However, if the SSL is configured for client authentication, it will fail because the server does not have the client's public key in its truststore.

This tutorial covers the following steps:

  • Generating the client and sample server keystore and truststore using the ikeyman tool
  • Importing the server certificate into the Process Server trust store
  • Mocking the Web services using the SOAP UI
  • Testing the SSL connection

Note: The SOAP UI is the world's leading Open Source Functional Testing tool for Web service testing. It is the leading desktop application for inspecting, invoking, monitoring, simulating or mocking, as well as functional testing, security testing, and so on.

Prerequisites

  • You must be familiar with the SOAP UI.
  • You need to have good hands-on experience in configuring Process Server and performing administrative activities.
  • You need to have an understanding of Web services.
  • You must be familiar with WebSphere Integration Developer (hereafter called Integration Developer) and using it as a development tool.

System requirements

  • Microsoft® Windows® machine
  • SOAP UI
  • IBM® WebSphere Integration Developer V7 installed with a WebSphere Process Server V7 test environment

Preparing the environment

In this tutorial, the following directories are used as the installation paths for the components:

  • WebSphere Integration Developer root: C:\IBM\WID7
  • WebSphere Process Server root: C:\IBM\WID7_WTE\runtimes\bi_v7

Duration

This tutorial will take about 2 to 3 hours to complete.

1 of 8 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Business process management, WebSphere, SOA and web services
ArticleID=781835
TutorialTitle=Configuring secured Web service calls from WebSphere Process Server V7 to a non-WebSphere server via SSL
publish-date=12212011
author1-email=keerthana.sharath@in.ibm.com
author1-email-cc=dwu@us.ibm.com